This commit is contained in:
Jean-Christian Denis 2021-09-08 01:50:59 +02:00
parent b42aadbbb9
commit ca7f863024

View file

@ -97,7 +97,7 @@ class cinecturlink2
if (!empty($params['link_id'])) {
if (is_array($params['link_id'])) {
array_walk($params['link_id'], function(&$v, $k'){ if($v !== null) { $v = (integer) $v;}});
array_walk($params['link_id'], function(&$v, $k){ if($v !== null) { $v = (integer) $v;}});
} else {
$params['link_id'] = [(integer) $params['link_id']];
}