FIX stickler-ci
This commit is contained in:
parent
6c2cf4377a
commit
4781dca2c2
@ -62,8 +62,8 @@ $errors = array();
|
|||||||
if (preg_match('/set_(.*)/', $action,$reg)) {
|
if (preg_match('/set_(.*)/', $action,$reg)) {
|
||||||
$db->begin();
|
$db->begin();
|
||||||
|
|
||||||
$code=$reg[1];
|
$code = $reg[1];
|
||||||
$value=(GETPOST($code) ? GETPOST($code) : 1);
|
$value = (GETPOST($code) ? GETPOST($code) : 1);
|
||||||
|
|
||||||
$res = dolibarr_set_const($db, $code, $value, 'chaine', 0, '', $conf->entity);
|
$res = dolibarr_set_const($db, $code, $value, 'chaine', 0, '', $conf->entity);
|
||||||
if (!$res > 0) {
|
if (!$res > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user