mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11224] Fix returned data
PHPBB3-11224
This commit is contained in:
parent
0c109c9d37
commit
0c4b53e2f1
1 changed files with 2 additions and 2 deletions
|
@ -295,7 +295,7 @@ class acm_memory
|
||||||
if (!preg_match_all('/(?:FROM \\(?(`?\\w+`?(?: \\w+)?(?:, ?`?\\w+`?(?: \\w+)?)*)\\)?)|(?:JOIN (`?\\w+`?(?: \\w+)?))/', $query, $regs, PREG_SET_ORDER))
|
if (!preg_match_all('/(?:FROM \\(?(`?\\w+`?(?: \\w+)?(?:, ?`?\\w+`?(?: \\w+)?)*)\\)?)|(?:JOIN (`?\\w+`?(?: \\w+)?))/', $query, $regs, PREG_SET_ORDER))
|
||||||
{
|
{
|
||||||
// Bail out if the match fails.
|
// Bail out if the match fails.
|
||||||
return $query_result;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$tables = array();
|
$tables = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue