Merge pull request #12574 from homer8173/patch-10
Default type missing for add links from module builder
This commit is contained in:
commit
e62b819beb
@ -70,7 +70,7 @@ $refalreadyexists = 0;
|
||||
|
||||
$id = GETPOST('id', 'int');
|
||||
$ref = GETPOST('ref', 'alpha');
|
||||
$type = GETPOST('type', 'int');
|
||||
$type = (GETPOST('type', 'int') !== '')? GETPOST('type', 'int'):Product::TYPE_PRODUCT;
|
||||
$action = (GETPOST('action', 'alpha') ? GETPOST('action', 'alpha') : 'view');
|
||||
$cancel = GETPOST('cancel', 'alpha');
|
||||
$backtopage = GETPOST('backtopage', 'alpha');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user