Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -1367,7 +1367,7 @@ |
1368 | 1368 | $from = ' FROM ' . implode( ',', $this->tableNamesWithAlias( $table ) ); |
1369 | 1369 | } |
1370 | 1370 | } elseif ( $table != '' ) { |
1371 | | - if ( $table { 0 } == ' ' ) { |
| 1371 | + if ( $table[0] == ' ' ) { |
1372 | 1372 | $from = ' FROM ' . $table; |
1373 | 1373 | } else { |
1374 | 1374 | $from = ' FROM ' . $this->tableName( $table ); |
— | — | @@ -3127,7 +3127,7 @@ |
3128 | 3128 | continue; |
3129 | 3129 | } |
3130 | 3130 | |
3131 | | - if ( '-' == $line { 0 } && '-' == $line { 1 } ) { |
| 3131 | + if ( '-' == $line[0] && '-' == $line[1] ) { |
3132 | 3132 | continue; |
3133 | 3133 | } |
3134 | 3134 | |
— | — | @@ -3142,7 +3142,7 @@ |
3143 | 3143 | } |
3144 | 3144 | } |
3145 | 3145 | elseif ( !$dollarquote ) { |
3146 | | - if ( ';' == $line { $sl } && ( $sl < 2 || ';' != $line { $sl - 1 } ) ) { |
| 3146 | + if ( ';' == $line[$sl] && ( $sl < 2 || ';' != $line[$sl - 1] ) ) { |
3147 | 3147 | $done = true; |
3148 | 3148 | $line = substr( $line, 0, $sl ); |
3149 | 3149 | } |