Update card.php
This commit is contained in:
parent
2aef13c3b4
commit
d1858e02b5
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue