fixed static use of config::save_value()

This commit is contained in:
Ralf Becker 2008-02-29 07:36:29 +00:00
parent 5755acdbe2
commit 7da0cd0dd0

View File

@ -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)!'); throw new egw_exception_assertion_failed('$app parameter required for static call of config::save_value($name,$value,$app)!');
} }
//echo "<p>config::save_value('$name','".print_r($value,True)."','$app')</p>\n"; //echo "<p>config::save_value('$name','".print_r($value,True)."','$app')</p>\n";
if (!$app || $app == $this->appname) if (!$app || isset($this) && $app == $this->appname)
{ {
$app = $this->appname; $app = $this->appname;
$this->config_data[$name] = $value; $this->config_data[$name] = $value;