From 0c4b53e2f1ea14dcdc82d2e2abac1ba96e4669ee Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 14 May 2014 20:22:36 +0200 Subject: [PATCH] [ticket/11224] Fix returned data PHPBB3-11224 --- phpBB/includes/acm/acm_memory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/acm/acm_memory.php b/phpBB/includes/acm/acm_memory.php index d975e4b348..83b0e61182 100644 --- a/phpBB/includes/acm/acm_memory.php +++ b/phpBB/includes/acm/acm_memory.php @@ -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(); @@ -448,4 +448,4 @@ class acm_memory } } -?> \ No newline at end of file +?>