Fix typo in before_delete_{entite,organizatoin} handlers
This commit is contained in:
parent
ea600db8d9
commit
c6ec74edcf
|
@ -26,7 +26,7 @@ function before_delete_entite($object) {
|
|||
LSerror::addErrorCode('Cette entité a des entités filles, vous ne pouvez pas la supprimer');
|
||||
return false;
|
||||
}
|
||||
return $false;
|
||||
return true;
|
||||
}
|
||||
|
||||
$GLOBALS['LSobjects']['LSsupannEntite'] = array (
|
||||
|
|
|
@ -26,7 +26,7 @@ function before_delete_organization($object) {
|
|||
LSerror::addErrorCode('Cette organisation a des entités filles, vous ne pouvez pas la supprimer');
|
||||
return false;
|
||||
}
|
||||
return $false;
|
||||
return true;
|
||||
}
|
||||
|
||||
$GLOBALS['LSobjects']['LSsupannOrg'] = array (
|
||||
|
|
Reference in New Issue