[ticket/11224] Fix returned data

PHPBB3-11224
This commit is contained in:
Tristan Darricau 2014-05-14 20:22:36 +02:00
parent 0c109c9d37
commit 0c4b53e2f1

View file

@ -295,7 +295,7 @@ class acm_memory
if (!preg_match_all('/(?:FROM \\(?(`?\\w+`?(?: \\w+)?(?:, ?`?\\w+`?(?: \\w+)?)*)\\)?)|(?:JOIN (`?\\w+`?(?: \\w+)?))/', $query, $regs, PREG_SET_ORDER))
{
// Bail out if the match fails.
return $query_result;
return;
}
$tables = array();