[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.config.inc.php,1.7.2.1.2.7
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.config.inc.php,1.7.2.1.2.7 |
Date: |
Sat, 3 Dec 2005 23:31:00 +0100 |
Update of phpgwapi/inc
Modified Files:
Branch: Version-0_9_16-branch
class.config.inc.php lines: +3 -3
Log Message:
fix values not being set to no/'' properly
====================================================
Index: phpgwapi/inc/class.config.inc.php
diff -u phpgwapi/inc/class.config.inc.php:1.7.2.1.2.6
phpgwapi/inc/class.config.inc.php:1.7.2.1.2.7
--- phpgwapi/inc/class.config.inc.php:1.7.2.1.2.6 Tue Aug 9 13:04:56 2005
+++ phpgwapi/inc/class.config.inc.php Sat Dec 3 22:31:55 2005
@@ -39,7 +39,7 @@
while ($this->db->next_record())
{
$test =
@unserialize($this->db->f('config_value', true));
- if($test)
+ if ( $test !== false )
{
$this->config_data[$this->db->f('config_name')] = $test;
}
@@ -57,7 +57,7 @@
$config_data =& $this->config_data;
$this->db->lock(array('phpgw_config',
'phpgw_app_sessions'));
- //$this->db->query("DELETE FROM phpgw_config
WHERE config_app = '{$this->appname}'",__LINE__,__FILE__); //someone removed
this without a proper explanation!
+ $this->db->query("DELETE FROM phpgw_config
WHERE config_app = '{$this->appname}'",__LINE__,__FILE__);
if($this->appname == 'phpgwapi')
{
$this->db->query('DELETE FROM
phpgw_app_sessions'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.config.inc.php,1.7.2.1.2.7,
skwashd <=