From 597be89274c80b8b4c87ec84730e2f516e5fe6f4 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 22 Jan 2014 17:18:14 +0000 Subject: bug 2989: fix r26905 git-svn-id: http://piwigo.org/svn/trunk@26907 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'admin/include') 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; } -- cgit v1.2.3