mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03:00
fixes #1786 export to piwigo broken with php 8.1
This commit is contained in:
parent
b27abf42e7
commit
29b83b1cae
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue