aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 36fc9d93e..75ae7084c 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -785,6 +785,7 @@ function get_fulldirs($cat_ids)
}
// caching directories of existing categories
+ global $cat_dirs; // used in preg_replace callback
$query = '
SELECT id, dir
FROM '.CATEGORIES_TABLE.'
@@ -824,6 +825,8 @@ SELECT id, uppercats, site_id
);
}
+ unset($cat_dirs);
+
return $cat_fulldirs;
}