max of predefined operation is now in constant.php
This commit is contained in:
parent
622f5aaf82
commit
129d2ffbd9
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class Pre_operation
|
|||
echo "<span class=\"notice\"> Ce modèle d' opération a déjà été sauvé</span>";
|
||||
return false;
|
||||
}
|
||||
if ( $this->count() > 30 )
|
||||
if ( $this->count() > MAX_PREDEFINED_OPERATION )
|
||||
{
|
||||
echo '<span class="notice">Vous avez atteint le max. d\'opération prédéfinie, désolé</span>';
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue