Index: trunk/phase3/includes/db/DatabaseMysql.php |
— | — | @@ -330,7 +330,7 @@ |
331 | 331 | } |
332 | 332 | |
333 | 333 | public function isQuotedIdentifier( $name ) { |
334 | | - return $name[0] == '`' && substr( $name, -1, 1 ) == '`'; |
| 334 | + return strlen($name) && $name[0] == '`' && substr( $name, -1, 1 ) == '`'; |
335 | 335 | } |
336 | 336 | |
337 | 337 | function ping() { |