mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Fix warning in pwg.categories.php
"Undefined variable: total_images" message when request category does not exist
This commit is contained in:
committed by
Pierrick Le Gall
parent
13ea43e2ef
commit
85db5eb9d1
@@ -22,6 +22,7 @@ function ws_categories_getImages($params, &$service)
|
||||
|
||||
$images = array();
|
||||
$image_ids = array();
|
||||
$total_images = 0;
|
||||
|
||||
//------------------------------------------------- get the related categories
|
||||
$where_clauses = array();
|
||||
|
||||
Reference in New Issue
Block a user