Use square brackets instead of braces for string access. props hakre, fixes #13900.

git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-11-13 09:53:55 +00:00
parent 305fbe129d
commit 200eefec46
11 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -367,7 +367,7 @@ class POP3 {
$line = fgets($fp,$buffer);
while ( !ereg("^\.\r\n",$line))
{
if ( $line{0} == '.' ) { $line = substr($line,1); }
if ( $line[0] == '.' ) { $line = substr($line,1); }
$MsgArray[$count] = $line;
$count++;
$line = fgets($fp,$buffer);