Update card.php
This commit is contained in:
parent
f837845c12
commit
63b96e22b0
@ -179,7 +179,7 @@ if (empty($reshook))
|
|||||||
|
|
||||||
// -3 means type not found (PROJECTLEADER renamed, de-activated or deleted), so don't prevent creation if it has been the case
|
// -3 means type not found (PROJECTLEADER renamed, de-activated or deleted), so don't prevent creation if it has been the case
|
||||||
if ($result == -3) {
|
if ($result == -3) {
|
||||||
setEventMessage('ErrorPROJECTLEADERRoleMissingOrDeActivatedPleaseRestoreItInContactTypesDictionary', 'errors');
|
setEventMessage('ErrorPROJECTLEADERRoleMissingRestoreIt', 'errors');
|
||||||
$error++;
|
$error++;
|
||||||
} elseif ($result < 0) {
|
} elseif ($result < 0) {
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user