[geeklog-cvs] Geeklog-1.x/system/classes config.class.php, 1.31, 1.32
Dirk Haun
dhaun at qs1489.pair.com
Sat Mar 15 15:55:22 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv96507/system/classes
Modified Files:
config.class.php
Log Message:
Fixed problems with error_reporting(E_ALL)
Index: config.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** config.class.php 15 Mar 2008 17:57:43 -0000 1.31
--- config.class.php 15 Mar 2008 19:55:20 -0000 1.32
***************
*** 123,126 ****
--- 123,128 ----
function &get_config($group)
{
+ $retval = false;
+
if (array_key_exists($group, $this->config_array)) {
***************
*** 135,139 ****
}
! return false;
}
--- 137,141 ----
}
! return $retval;
}
***************
*** 559,563 ****
$t->set_var('name', $name);
$t->set_var('display_name', $display_name);
! $t->set_var('value', $val);
if ($deletable) {
$t->set_var('delete', $t->parse('output', 'delete-button'));
--- 561,567 ----
$t->set_var('name', $name);
$t->set_var('display_name', $display_name);
! if (!is_array($val)) {
! $t->set_var('value', $val);
! }
if ($deletable) {
$t->set_var('delete', $t->parse('output', 'delete-button'));
More information about the geeklog-cvs
mailing list