bug 2989: fix r26905
git-svn-id: http://piwigo.org/svn/trunk@26907 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
9ee07221ec
commit
597be89274
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue