fixed not working non-static use after Jörgs commit ($app was NOT set anymore)

This commit is contained in:
Ralf Becker 2010-06-16 11:06:10 +00:00
parent 76a8645871
commit 6821442c24

View File

@ -128,6 +128,7 @@ class config
//echo "<p>config::save_value('$name','".print_r($value,True)."','$app')</p>\n";
if (!$app || isset($this) && is_a($this,__CLASS__) && $app == $this->appname)
{
$app = $this->appname;
$this->config_data[$name] = $value;
}
//echo "<p>config::save_value('$name','".print_r($value,True)."','$app')</p>\n";