Skip to content

Commit

Permalink
missed one!
Browse files Browse the repository at this point in the history
  • Loading branch information
Camwyn committed Oct 23, 2023
1 parent 230d90e commit 2c8b078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DB/QueryBuilder/Clauses/From.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ class From {
*/
public function __construct( $table, $alias = null ) {
$this->table = QueryBuilder::prefixTable( $table );
$this->alias = trim( $alias );
$this->alias = is_null( $alias ) ? null : trim( $alias );
}
}

0 comments on commit 2c8b078

Please sign in to comment.