fix: warning PHP en moins

master
erational 2 weeks ago
parent 17f30726ed
commit 238f4c68b8

@ -12,7 +12,7 @@ function formulaires_maj_zotspip_charger_dist() {
$zotspip_maj_items = unserialize($GLOBALS['meta']['zotspip_maj_items']);
$avancement = _T('zotspip:plusieurs_references_sync', ['nb' => isset($zotspip_maj_items['start']) ? $zotspip_maj_items['start'] : 0]);
}
if ($zotspip_maj['step'] == 'collections') {
if (($zotspip_maj['step'] == 'collections') && (isset($GLOBALS['meta']['zotspip_maj_collections']))) {
$zotspip_maj_collections = unserialize($GLOBALS['meta']['zotspip_maj_collections']);
$avancement = _T('zotspip:plusieurs_collections_sync', ['nb' => isset($zotspip_maj_collections['start']) ? $zotspip_maj_collections['start'] : 0]);
}

Loading…
Cancel
Save