Index: trunk/phase3/includes/Database.php |
— | — | @@ -1045,7 +1045,11 @@ |
1046 | 1046 | else |
1047 | 1047 | $from = ' FROM ' . implode( ',', array_map( array( &$this, 'tableName' ), $table ) ); |
1048 | 1048 | } elseif ($table!='') { |
1049 | | - $from = ' FROM ' . $this->tableName( $table ); |
| 1049 | + if ($table{0}==' ') { |
| 1050 | + $from = ' FROM ' . $table; |
| 1051 | + } else { |
| 1052 | + $from = ' FROM ' . $this->tableName( $table ); |
| 1053 | + } |
1050 | 1054 | } else { |
1051 | 1055 | $from = ''; |
1052 | 1056 | } |