[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.preferences.inc.php
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.preferences.inc.php |
Date: |
Sun, 03 Sep 2006 07:09:28 +0000 |
CVSROOT: /cvsroot/phpgwapi
Module name: phpgwapi
Changes by: Caeies <Caeies> 06/09/03 07:09:28
Modified files:
inc : class.preferences.inc.php
Log message:
E_ALL fix for mail_login_* values server array config
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.preferences.inc.php?cvsroot=phpgwapi&r1=1.61&r2=1.62
Patches:
Index: class.preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.preferences.inc.php,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- class.preferences.inc.php 31 Aug 2006 02:39:56 -0000 1.61
+++ class.preferences.inc.php 3 Sep 2006 07:09:28 -0000 1.62
@@ -7,7 +7,7 @@
* @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage application
- * @version $Id: class.preferences.inc.php,v 1.61 2006/08/31 02:39:56
skwashd Exp $
+ * @version $Id: class.preferences.inc.php,v 1.62 2006/09/03 07:09:28
Caeies Exp $
*/
/**
@@ -803,12 +803,12 @@
*/
function sub_default_userid($account_id='')
{
- if ($GLOBALS['phpgw_info']['server']['mail_login_type']
== 'vmailmgr')
+ if
(isset($GLOBALS['phpgw_info']['server']['mail_login_type']) &&
$GLOBALS['phpgw_info']['server']['mail_login_type'] == 'vmailmgr')
{
$prefs_email_userid =
$GLOBALS['phpgw']->accounts->id2name($account_id)
. '@' .
$GLOBALS['phpgw_info']['server']['mail_suffix'];
}
- else if
($GLOBALS['phpgw_info']['server']['mail_login_type'] == 'ispman')
+ else if
(isset($GLOBALS['phpgw_info']['server']['mail_login_type']) &&
$GLOBALS['phpgw_info']['server']['mail_login_type'] == 'ispman')
{
$prefs_email_userid =
$GLOBALS['phpgw']->accounts->id2name($account_id)
. '_' . str_replace('.', '_',
$GLOBALS['phpgw_info']['server']['mail_suffix']);
- [Phpgroupware-cvs] phpgwapi/inc class.preferences.inc.php,
Caeies <=