Commit d9f086ee authored by David's avatar David
Browse files

Merge branch 'patch-1' into 'master'

Update ep_function.php pour récupérer lastinsertId sur base MariaDB

See merge request !2
parents b9ddae6f 2919e771
......@@ -79,7 +79,10 @@ function AjouterAlias($status, $alias,$email, $life, $comment) {
return $dbco->lastInsertId();
// return $dbco->lastInsertId();
$stmt = $dbco->query("SELECT LAST_INSERT_ID()");
return $stmt->fetchColumn();
// delete email
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment