Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -154,7 +154,14 @@ class _Select implements \Iterator, \Countable
|
||||
}
|
||||
elseif ( is_array( $table ) )
|
||||
{
|
||||
$query .= " `{$this->db->prefix}{$table[0]}` AS `{$table[1]}`";
|
||||
if ( \substr( $table[0], 0, 1 ) === '(' )
|
||||
{
|
||||
$query .= " {$table[0]} AS `{$table[1]}`";
|
||||
}
|
||||
else
|
||||
{
|
||||
$query .= " `{$this->db->prefix}{$table[0]}` AS `{$table[1]}`";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user