fix ToggleGalleryActions ajax action
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 18 Feb 2010 00:52:06 +0000 (19:52 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 18 Feb 2010 00:52:06 +0000 (19:52 -0500)
ansel/lib/Ajax/Imple/ToggleGalleryActions.php

index 433cf09..4e3230d 100644 (file)
@@ -29,8 +29,7 @@ class Ansel_Ajax_Imple_ToggleGalleryActions extends Horde_Ajax_Imple_Base
          if (!isset($post['value'])) {
             return 0;
          }
-         $input = Horde_Util::getPost($post['value']);
-         $GLOBALS['prefs']->setValue('show_actions', $input);
+         $GLOBALS['prefs']->setValue('show_actions', $post['value']);
 
         return 1;
     }