fix banner

This commit is contained in:
Miles Lott 2002-01-11 02:01:24 +00:00
parent f075681f38
commit 5cff4754a0

View File

@ -1,29 +1,29 @@
<?php <?php
/**************************************************************************\ /**************************************************************************\
* phpGroupWare API - Preferences * * phpGroupWare API - Preferences *
* This file written by Joseph Engo <jengo@phpgroupware.org> * * This file written by Joseph Engo <jengo@phpgroupware.org> *
* and Mark Peters <skeeter@phpgroupware.org> * * and Mark Peters <skeeter@phpgroupware.org> *
* Manages user preferences * * Manages user preferences *
* Copyright (C) 2000, 2001 Joseph Engo * * Copyright (C) 2000, 2001 Joseph Engo *
* ------------------------------------------------------------------------- * * -------------------------------------------------------------------------*
* This library is part of the phpGroupWare API * * This library is part of the phpGroupWare API *
* http://www.phpgroupware.org/api * * http://www.phpgroupware.org/api *
* ------------------------------------------------------------------------ * * ------------------------------------------------------------------------ *
* This library is free software; you can redistribute it and/or modify it * * This library is free software; you can redistribute it and/or modify it *
* under the terms of the GNU Lesser General Public License as published by * * under the terms of the GNU Lesser General Public License as published by *
* the Free Software Foundation; either version 2.1 of the License, * * the Free Software Foundation; either version 2.1 of the License, *
* or any later version. * * or any later version. *
* This library is distributed in the hope that it will be useful, but * * This library is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of * * WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Lesser General Public License for more details. * * See the GNU Lesser General Public License for more details. *
* You should have received a copy of the GNU Lesser General Public License * * You should have received a copy of the GNU Lesser General Public License *
* along with this library; if not, write to the Free Software Foundation, * * along with this library; if not, write to the Free Software Foundation, *
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
\**************************************************************************/ \**************************************************************************/
/* $Id$ */ /* $Id$ */
/*! /*!
@class preferences @class preferences
@abstract preferences class used for setting application preferences @abstract preferences class used for setting application preferences
@ -505,8 +505,7 @@
$prefs = $this->data; $prefs = $this->data;
} }
// are we dealing with the default email account or an extra email account? // are we dealing with the default email account or an extra email account?
if (!(isset($acctnum)) if (!(isset($acctnum)) || ((string)$acctnum == ''))
|| ((string)$acctnum == ''))
{ {
// account 0 is the default email account // account 0 is the default email account
$acctnum = 0; $acctnum = 0;