mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1786 export to piwigo broken with php 8.1
This commit is contained in:
committed by
Pierrick Le Gall
parent
b27abf42e7
commit
29b83b1cae
@@ -318,7 +318,7 @@ SELECT
|
||||
}
|
||||
|
||||
$row['comment'] = strip_tags(
|
||||
trigger_change(
|
||||
(string) trigger_change(
|
||||
'render_category_description',
|
||||
$row['comment'],
|
||||
'ws_categories_getList'
|
||||
@@ -1307,4 +1307,4 @@ SELECT DISTINCT
|
||||
return $output;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -1803,7 +1803,7 @@ function ws_images_exist($params, $service)
|
||||
// search among photos the list of photos already added, based on md5sum list
|
||||
$md5sums = preg_split(
|
||||
$split_pattern,
|
||||
$params['md5sum_list'],
|
||||
(string) $params['md5sum_list'],
|
||||
-1,
|
||||
PREG_SPLIT_NO_EMPTY
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user