From 7da0cd0dd0c6e4bb26e63288317c753782c46c9e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 29 Feb 2008 07:36:29 +0000 Subject: [PATCH] fixed static use of config::save_value() --- phpgwapi/inc/class.config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.config.inc.php b/phpgwapi/inc/class.config.inc.php index e257b0d482..1cd1786050 100755 --- a/phpgwapi/inc/class.config.inc.php +++ b/phpgwapi/inc/class.config.inc.php @@ -117,7 +117,7 @@ class config throw new egw_exception_assertion_failed('$app parameter required for static call of config::save_value($name,$value,$app)!'); } //echo "

config::save_value('$name','".print_r($value,True)."','$app')

\n"; - if (!$app || $app == $this->appname) + if (!$app || isset($this) && $app == $this->appname) { $app = $this->appname; $this->config_data[$name] = $value;