Bug #8831: Fix updating prefs
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 20 Jan 2010 19:02:38 +0000 (12:02 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 20 Jan 2010 19:02:38 +0000 (12:02 -0700)
horde/services/prefs.php

index ed7e958..422d091 100644 (file)
@@ -46,7 +46,7 @@ $actionID = Horde_Util::getFormData('actionID');
 
 /* Run prefs_ui init code, if available. */
 if ($registry->hasAppMethod($app, 'prefsInit')) {
-    $result = $registry->callAppMethod($app, 'prefsInit', array('args' => array(($actionID == 'update_prefs') ? '' : $group)));
+    $result = $registry->callAppMethod($app, 'prefsInit', array('args' => array($group)));
     if (!empty($result)) {
         extract($result);
     }