Page MenuHomeIn-Portal Phabricator

D416.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 3:14 AM

D416.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
@@ -1765,6 +1765,6 @@
*/
private function matchAlias($escaped_alias, $string)
{
- return preg_match('/(`' . $escaped_alias . '`|' . $escaped_alias . ')\./', $string);
+ return preg_match('/\b(`' . $escaped_alias . '`|' . $escaped_alias . ')\./s', $string);
}
}

Event Timeline