diff --git a/ecrire/req/mysql.php b/ecrire/req/mysql.php index 72aa782e471380a530895bb208716314cd4e8303..065b44e99c41b1a19de303a4944776bdde926667 100644 --- a/ecrire/req/mysql.php +++ b/ecrire/req/mysql.php @@ -1704,7 +1704,7 @@ function spip_release_lock($nom) { $nom = "$bd:$prefixe:$nom" . _LOCK_TIME; $connexion['last'] = $q = "SELECT RELEASE_LOCK(" . _q($nom) . ")"; - mysqli_query($q); + mysqli_query(_mysql_link(), $q); }