aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm/acm_db.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acm/acm_db.php')
-rw-r--r--phpBB/includes/acm/acm_db.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acm/acm_db.php b/phpBB/includes/acm/acm_db.php
index 0204666aa4..83f52362cd 100644
--- a/phpBB/includes/acm/acm_db.php
+++ b/phpBB/includes/acm/acm_db.php
@@ -57,7 +57,7 @@ class acm
if (!$var_names)
{
- $var_requested[] = $row['var_name'];
+ $this->var_requested[] = $row['var_name'];
}
}
}
@@ -137,7 +137,7 @@ class acm
if ($var_name{0} == '_')
{
- if (!in_array($this->var_requested, $var_name))
+ if (!in_array($var_name, $this->var_requested))
{
$this->var_requested[] = $var_name;