Fix var init
This commit is contained in:
parent
a5034d44f7
commit
b3c15089f0
@ -42,6 +42,7 @@ $action = GETPOST('action', 'aZ09');
|
||||
* Action
|
||||
*/
|
||||
|
||||
$reg = array();
|
||||
if (preg_match('/set_([a-z0-9_\-]+)/i', $action, $reg)) {
|
||||
$code = $reg[1];
|
||||
if (dolibarr_set_const($db, $code, 1, 'yesno', 0, '', $conf->entity) > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user