Merge pull request #3746 from atm-gauthier/3.8_fix_function_update_extra
FIX : 1/ update_extra() function musn't be in "if(!empty(MAIN_DISABL…
This commit is contained in:
commit
5c1daa6135
@ -1773,6 +1773,7 @@ if (empty($reshook))
|
|||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($action == 'update_extras')
|
if ($action == 'update_extras')
|
||||||
@ -1801,7 +1802,6 @@ if (empty($reshook))
|
|||||||
if ($error)
|
if ($error)
|
||||||
$action = 'edit_extras';
|
$action = 'edit_extras';
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user