Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -1581,7 +1581,7 @@ |
1582 | 1582 | * @param $alias string Alias (optional) |
1583 | 1583 | * @return string SQL name for aliased table. Will not alias a table to its own name |
1584 | 1584 | */ |
1585 | | - public function tableNameWithAlias( $name, $alias ) { |
| 1585 | + public function tableNameWithAlias( $name, $alias = false ) { |
1586 | 1586 | if ( !$alias || $alias == $name ) { |
1587 | 1587 | return $this->tableName( $name ); |
1588 | 1588 | } else { |