2
0
forked from Wavyzz/dolibarr

add new rule

This commit is contained in:
Frédéric FRANCE
2020-05-21 15:05:19 +02:00
parent b58060f899
commit b41ac00b98
961 changed files with 9487 additions and 19110 deletions

View File

@@ -161,12 +161,10 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
$this->box_order = $obj->box_order;
$this->fk_user = $obj->fk_user;
return 1;
}
else {
} else {
return -1;
}
}
else {
} else {
return -1;
}
}
@@ -436,12 +434,10 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
{
$langs->load("errors");
print '<div class="error">'.$langs->trans("Error").' : '.$langs->trans("ErrorDuplicateWidget", $modName, "").'</div>';
}
else {
} else {
try {
include_once $newdir.'/'.$file;
}
catch (Exception $e)
} catch (Exception $e)
{
print $e->getMessage();
}