From: Ben Klang Date: Thu, 31 Dec 2009 21:05:00 +0000 (-0500) Subject: Horde_Perms_Ui: make $info passed by reference X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e88bde18e8379b070944c7ff3109ee40e41a5d72;p=horde.git Horde_Perms_Ui: make $info passed by reference This is required to allow the setup form to populate the info array from the validated form. $info is referenced later in horde/admin/perms/addchild.php. --- diff --git a/framework/Perms/lib/Horde/Perms/Ui.php b/framework/Perms/lib/Horde/Perms/Ui.php index 2e2f34ef8..9c36622ff 100644 --- a/framework/Perms/lib/Horde/Perms/Ui.php +++ b/framework/Perms/lib/Horde/Perms/Ui.php @@ -213,12 +213,12 @@ class Horde_Perms_Ui /** * Function to validate any add form input. * - * @param TODO $info TODO + * @param array &$info Ref to hold info from the form * * @return mixed Either false if the form does not validate correctly or * an array with all the form values. */ - public function validateAddForm($info) + public function validateAddForm(&$info) { if (!$this->_form->validate($this->_vars)) { return false;