diff options
author | mistic100 <mistic@piwigo.org> | 2014-01-22 17:16:47 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-01-22 17:16:47 +0000 |
commit | d5b3d5dabdcdfff93b8c2b997cf42383c4a58345 (patch) | |
tree | 98c7ed3f2ca6964e80c6fecb859e79cf705397cd | |
parent | cd99110a8e52410f1147c1f0d92b7337532c6146 (diff) |
bug 2989: fix r26904
git-svn-id: http://piwigo.org/svn/branches/2.6@26906 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | admin/include/functions.php | 3 |
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; } |