1
0
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:
Henry Sudhof
2007-05-27 15:07:47 +00:00
parent 3ee5b28d3b
commit 9c0c1e14b6
8 changed files with 22 additions and 13 deletions

View File

@@ -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;