9 May 2012 04:57
SF.net SVN: squirrelmail:[14324] trunk/squirrelmail/functions/html.php
Revision: 14324
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=14324&view=rev
Author: pdontthink
Date: 2012-05-09 02:57:02 +0000 (Wed, 09 May 2012)
Log Message:
-----------
Fix occasional PHP notice
Modified Paths:
--------------
trunk/squirrelmail/functions/html.php
Modified: trunk/squirrelmail/functions/html.php
===================================================================
--- trunk/squirrelmail/functions/html.php 2012-04-30 19:41:12 UTC (rev 14323)
+++ trunk/squirrelmail/functions/html.php 2012-05-09 02:57:02 UTC (rev 14324)
<at> <at> -390,7 +390,7 <at> <at>
$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];
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.
------------------------------------------------------------------------------
(Continue reading)
RSS Feed