Oubli dans le refactoring

v0_spip32
Eric Lupinacci 3 years ago
parent 2cbd1e4998
commit b3dfd15f4f

@ -65,8 +65,7 @@ function territoire_peupler($type, $pays, $options = array()) {
// changée. Dans ce cas, aucun traitement n'a lieu.
$sha_type = sha1(json_encode($territoires));
if (
$tester = charger_fonction('sha_est_identique', 'inc')
and $tester($sha_type, $meta, $consigne)
sha_est_identique($sha_type, $meta, $consigne)
and empty($options['force'])
) {
$type_identique = true;

Loading…
Cancel
Save