* the right to left implementation by "functionize" some
* html outputs.
*
- * @copyright 1999-2012 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
$p = explode('=', $p);
$newpar[$p[0]] = (isset($p[1]) ? $p[1] : '');
if ($treat_as_array && preg_match('/(.*)\[(\d+)]$/', $p[0], $matches)) {
- if (!is_array($array_names[$matches[1]])) $array_names[$matches[1]] = array();
+ if (!isset($array_names[$matches[1]])) $array_names[$matches[1]] = array();
$array_names[$matches[1]][$matches[2]] = $p[1];
}
}