[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.preferences.inc.php,1.43,1.44
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.preferences.inc.php,1.43,1.44 |
Date: |
Mon, 22 Apr 2002 22:18:34 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv7639
Modified Files:
class.preferences.inc.php
Log Message:
Use is_array() instead of gettype()
Index: class.preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.preferences.inc.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** class.preferences.inc.php 13 Jan 2002 03:58:41 -0000 1.43
--- class.preferences.inc.php 23 Apr 2002 02:18:30 -0000 1.44
***************
*** 307,311 ****
function verify_basic_settings()
{
! if
(gettype($GLOBALS['phpgw_info']['user']['preferences']) != 'array')
{
$GLOBALS['phpgw_info']['user']['preferences']
= array();
--- 307,311 ----
function verify_basic_settings()
{
! if
(address@hidden($GLOBALS['phpgw_info']['user']['preferences']))
{
$GLOBALS['phpgw_info']['user']['preferences']
= array();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.preferences.inc.php,1.43,1.44,
Miles Lott <address@hidden> <=