mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-08 01:42:29 +01:00
bug fixed: now that WebService method pwg.images.add create image records
with no storage_category_id, we allow this field to be null in the administration code. git-svn-id: http://piwigo.org/svn/trunk@2575 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
8ffef257e1
commit
52f0cce24f
4 files changed
+36
-13
No files matched your search
@@ -1057,6 +1057,7 @@ function update_path()
|
||||
$query = '
|
||||
SELECT DISTINCT(storage_category_id)
|
||||
FROM '.IMAGES_TABLE.'
|
||||
WHERE storage_category_id IS NOT NULL
|
||||
;';
|
||||
$cat_ids = array_from_query($query, 'storage_category_id');
|
||||
$fulldirs = get_fulldirs($cat_ids);
|
||||
|
||||
Reference in new issue
Block a user