Page MenuHomeIn-Portal Phabricator

D357.diff
No OneTemporary

File Metadata

Created
Sat, Apr 19, 7:24 PM

D357.diff

Index: branches/5.2.x/core/kernel/db/dblist.php
===================================================================
--- branches/5.2.x/core/kernel/db/dblist.php
+++ branches/5.2.x/core/kernel/db/dblist.php
@@ -590,8 +590,8 @@
return ;
}
- $sql = $this->GetSelectSQL(true, false);
$fields = str_replace('%1$s', $this->TableName, implode(', ', $fields));
+ $sql = $this->GetSelectSQL(true, false, $fields);
if ( preg_match("/DISTINCT(.*?\s)FROM(?!_)/is",$sql,$regs ) )
{

Event Timeline