mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Some fixes and improvements.
#11817 #11851 #11801 #11461 git-svn-id: file:///svn/phpbb/trunk@7692 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1162,6 +1162,8 @@ class install_convert extends module
|
||||
$schema['group_by'] = array($schema['group_by']);
|
||||
foreach($sql_data['select_fields'] as $select)
|
||||
{
|
||||
$alias = strpos(strtolower($select), ' as ');
|
||||
$select = ($alias) ? substr($select, 0, $alias) : $select;
|
||||
if (!in_array($select, $schema['group_by']))
|
||||
{
|
||||
$schema['group_by'][] = $select;
|
||||
|
Reference in New Issue
Block a user