From d5b3d5dabdcdfff93b8c2b997cf42383c4a58345 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 22 Jan 2014 17:16:47 +0000 Subject: bug 2989: fix r26904 git-svn-id: http://piwigo.org/svn/branches/2.6@26906 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'admin') 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