From e88bde18e8379b070944c7ff3109ee40e41a5d72 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Thu, 31 Dec 2009 16:05:00 -0500 Subject: [PATCH] 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. --- framework/Perms/lib/Horde/Perms/Ui.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0