Fix typo in before_delete_{entite,organizatoin} handlers

This commit is contained in:
Benjamin Dauvergne 2016-02-15 15:54:51 +01:00
parent ea600db8d9
commit c6ec74edcf
2 changed files with 2 additions and 2 deletions

View File

@ -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 (

View File

@ -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 (