FIX missing action "edit" for the hook

This commit is contained in:
Regis Houssin 2018-11-09 10:25:00 +01:00
parent 9bced281db
commit 5d1d77a966

View File

@ -35,7 +35,7 @@ $langs->load("categories");
$id=GETPOST('id','int'); $id=GETPOST('id','int');
$ref=GETPOST('ref'); $ref=GETPOST('ref');
$type=GETPOST('type'); $type=GETPOST('type');
$action=GETPOST('action','aZ09'); $action=(GETPOST('action','aZ09')?GETPOST('action','aZ09'):'edit');
$confirm=GETPOST('confirm'); $confirm=GETPOST('confirm');
$cancel=GETPOST('cancel','alpha'); $cancel=GETPOST('cancel','alpha');