From: Michael J. Rubinsky Date: Thu, 18 Feb 2010 00:52:06 +0000 (-0500) Subject: fix ToggleGalleryActions ajax action X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d06f295c234496e58ebca0db2ef65bbc0cffc753;p=horde.git fix ToggleGalleryActions ajax action --- diff --git a/ansel/lib/Ajax/Imple/ToggleGalleryActions.php b/ansel/lib/Ajax/Imple/ToggleGalleryActions.php index 433cf090e..4e3230d22 100644 --- a/ansel/lib/Ajax/Imple/ToggleGalleryActions.php +++ b/ansel/lib/Ajax/Imple/ToggleGalleryActions.php @@ -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; }