[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc functions.inc.php,1.149,1.150
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc functions.inc.php,1.149,1.150 |
Date: |
Wed, 21 Aug 2002 23:07:02 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv17524/phpgwapi/inc
Modified Files:
functions.inc.php
Log Message:
Added a few isset()'s. This clears a few warnings from being logged.
Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.149
retrieving revision 1.150
diff -C2 -r1.149 -r1.150
*** functions.inc.php 20 Aug 2002 12:41:48 -0000 1.149
--- functions.inc.php 22 Aug 2002 03:07:00 -0000 1.150
***************
*** 587,591 ****
/* Maybe we should create a common function in
the phpgw_accounts_shared.inc.php file */
/* to get rid of duplicate code. */
! if
($GLOBALS['phpgw_info']['user']['lastpasswd_change'] == 0)
{
$message = lang('You are required to
change your password during your first login')
--- 587,591 ----
/* Maybe we should create a common function in
the phpgw_accounts_shared.inc.php file */
/* to get rid of duplicate code. */
! if
(isset($GLOBALS['phpgw_info']['user']['lastpasswd_change']) &&
$GLOBALS['phpgw_info']['user']['lastpasswd_change'] == 0)
{
$message = lang('You are required to
change your password during your first login')
***************
*** 594,598 ****
$GLOBALS['phpgw_info']['flags']['msgbox_data'][$message]=False;
}
! elseif
($GLOBALS['phpgw_info']['user']['lastpasswd_change'] < time() - (86400*30))
{
$message = lang('it has been more then
x days since you changed your password',30);
--- 594,598 ----
$GLOBALS['phpgw_info']['flags']['msgbox_data'][$message]=False;
}
! elseif
(isset($GLOBALS['phpgw_info']['user']['lastpasswd_change']) &&
$GLOBALS['phpgw_info']['user']['lastpasswd_change'] < time() - (86400*30))
{
$message = lang('it has been more then
x days since you changed your password',30);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc functions.inc.php,1.149,1.150,
Mark A Peters <address@hidden> <=