From: <var...@us...> - 2009-06-02 15:57:12
|
Revision: 6843 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6843&view=rev Author: vargenau Date: 2009-06-02 15:57:11 +0000 (Tue, 02 Jun 2009) Log Message: ----------- Test if empty after trim Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2009-06-02 15:21:49 UTC (rev 6842) +++ trunk/lib/stdlib.php 2009-06-02 15:57:11 UTC (rev 6843) @@ -2358,6 +2358,8 @@ $line = trim ($line, "="); $line = trim ($line); + if (empty($line)) return $options; + // Then we have the attribute value. $i = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |