aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm/acm_file.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acm/acm_file.php')
-rw-r--r--phpBB/includes/acm/acm_file.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/acm/acm_file.php b/phpBB/includes/acm/acm_file.php
index 64a85db0b0..a1734c1c55 100644
--- a/phpBB/includes/acm/acm_file.php
+++ b/phpBB/includes/acm/acm_file.php
@@ -269,7 +269,8 @@ class acm
$found = false;
foreach ($table as $check_table)
{
- if (strpos($check_line, $check_table . ' ') !== false)
+ // Better catch partial table names than no table names. ;)
+ if (strpos($check_line, $check_table) !== false)
{
$found = true;
break;