Merge pull request #9982 from hregis/8.0_pg

FIX missing action "edit" for the hook
This commit is contained in:
Laurent Destailleur 2018-11-10 12:17:33 +01:00 committed by GitHub
commit a12c0d9b53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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