Un test plus strict

v0_spip32
Eric Lupinacci 3 years ago
parent 1efad9f3aa
commit e01d0a870a

@ -639,7 +639,7 @@ function sha_est_identique($sha, $meta, $type, $pays = '', $service = '') {
include_spip('inc/config');
$sha_stocke = lire_config("${meta}/${consigne}/sha", false);
if ($sha_stocke and ($sha == $sha_stocke)) {
if ($sha_stocke and ($sha === $sha_stocke)) {
$sha_identique = true;
}

Loading…
Cancel
Save