mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 00:37:42 +02:00
- it's \r\n not \n\r [Bug #3121]
- a few little search bugfixes - drop in the improved version of the native search based on UTF-8 (still needs some work before it can replace the current native search) Thanks Ashe :) git-svn-id: file:///svn/phpbb/trunk@6175 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -286,7 +286,17 @@ class dbal
|
||||
$table_array = array();
|
||||
foreach ($array['FROM'] as $table_name => $alias)
|
||||
{
|
||||
$table_array[] = $table_name . ' ' . $alias;
|
||||
if (is_array($alias))
|
||||
{
|
||||
foreach ($alias as $multi_alias)
|
||||
{
|
||||
$table_array[] = $table_name . ' ' . $multi_alias;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$table_array[] = $table_name . ' ' . $alias;
|
||||
}
|
||||
}
|
||||
|
||||
$sql .= $this->_sql_custom_build('FROM', implode(', ', $table_array));
|
||||
|
Reference in New Issue
Block a user