Update card.php
This commit is contained in:
parent
2aef13c3b4
commit
d1858e02b5
@ -71,8 +71,8 @@ $mesg = ''; $error = 0; $errors = array();
|
||||
$refalreadyexists = 0;
|
||||
|
||||
$id = GETPOST('id', 'int');
|
||||
$ref = (GETPOST('ref', 'alpha') !== '') ? GETPOST('ref', 'alpha') : null;
|
||||
$type = (GETPOST('type', 'int') !== '') ? GETPOST('type', 'int') : Product::TYPE_PRODUCT;
|
||||
$ref = (GETPOSTISSET('ref', 'alpha') ? GETPOST('ref', 'alpha') : null);
|
||||
$type = (GETPOSTISSET('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