Fix: Evite erreur quand on cre cl trangre dj existante
This commit is contained in:
parent
f970b26f20
commit
c3c86a6b9e
@ -170,7 +170,8 @@ if (isset($_GET["action"]) && $_GET["action"] == "upgrade")
|
||||
'DB_ERROR_KEY_NAME_ALREADY_EXISTS',
|
||||
'DB_ERROR_RECORD_ALREADY_EXISTS',
|
||||
'DB_ERROR_NOSUCHTABLE',
|
||||
'DB_ERROR_NOSUCHFIELD'
|
||||
'DB_ERROR_NOSUCHFIELD',
|
||||
'DB_ERROR_CANNOT_CREATE' // Qd contrainte deja existante
|
||||
);
|
||||
if (in_array($errno,$okerror))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user