diff --git a/preferences/inc/class.ajaxpreferences.inc.php b/preferences/inc/class.ajaxpreferences.inc.php index 0d59d99977..79f45e4d98 100644 --- a/preferences/inc/class.ajaxpreferences.inc.php +++ b/preferences/inc/class.ajaxpreferences.inc.php @@ -1,6 +1,6 @@ preferences->read_repository(); - $GLOBALS['egw']->preferences->change($repository,$key,$value); + $GLOBALS['egw']->preferences->add($appname,$key,$value); $GLOBALS['egw']->preferences->save_repository(True); - //$response->addAlert(__METHOD__."('$repository','$key','$value')"); + //$response->addAlert(__METHOD__."('$appname','$key','$value')"); return $response->getXML(); } }