Index: branches/5.2.x/core/units/helpers/page_helper.php =================================================================== diff -u -N -r14856 -r15012 --- branches/5.2.x/core/units/helpers/page_helper.php (.../page_helper.php) (revision 14856) +++ branches/5.2.x/core/units/helpers/page_helper.php (.../page_helper.php) (revision 15012) @@ -34,7 +34,7 @@ $sql = 'SELECT CASE pr.CreatedById WHEN ' . USER_ROOT . ' THEN "root" WHEN ' . USER_GUEST . ' THEN "Guest" ELSE u.Username END FROM ' . $this->Application->getUnitOption('page-revision', 'TableName') . ' pr - LEFT JOIN ' . TABLE_PREFIX . 'PortalUser u ON u.PortalUserId = pr.CreatedById + LEFT JOIN ' . TABLE_PREFIX . 'Users u ON u.PortalUserId = pr.CreatedById WHERE (' . implode(') AND (', $where_clause) . ')'; $users = $this->Conn->GetCol($sql);