mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
Fix "total_count" type on some WS methods
This commit is contained in:
committed by
Pierrick Le Gall
parent
8fc3c9cd0e
commit
3f07808d7f
@@ -137,6 +137,7 @@ SELECT SQL_CALC_FOUND_ROWS i.*
|
||||
}
|
||||
|
||||
list($total_images) = pwg_db_fetch_row(pwg_query('SELECT FOUND_ROWS()'));
|
||||
$total_images = (int)$total_images;
|
||||
|
||||
// let's take care of adding the related albums to each photo
|
||||
if (count($image_ids) > 0)
|
||||
|
||||
Reference in New Issue
Block a user