From 16485b967098bfe1137b0d023e1e6b695991d66c Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Thu, 3 Jul 2025 10:17:09 -0400 Subject: [PATCH] Simplify Horde_Form's getInfo() --- lib/Horde/Form.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Horde/Form.php b/lib/Horde/Form.php index 8003f61..63d20ba 100644 --- a/lib/Horde/Form.php +++ b/lib/Horde/Form.php @@ -768,9 +768,8 @@ public function getInfo($vars = null, $info = []) if (is_null($vars)) { $vars = $this->_vars; } - $info = $this->_getInfoFromVariables($this->getVariables(), $vars, $info); - $info = $this->_getInfoFromVariables($this->_hiddenVariables, $vars, $info); - return $info; + + return $this->_getInfoFromVariables($this->getVariables(true, true), $vars, $info); } /**