Fix CI GETPOST -> GETPOSTINT
This commit is contained in:
parent
957c5645e2
commit
c26c4571d8
1 changed files with 2 additions and 2 deletions
|
|
@ -562,14 +562,14 @@ if (empty($reshook)) {
|
|||
}
|
||||
if ($action == 'settrueWeight') { // Test on permission already done
|
||||
$object->trueWeight = GETPOST('trueWeight');
|
||||
$object->weight_units = GETPOST('weight_units');
|
||||
$object->weight_units = GETPOSTINT('weight_units');
|
||||
}
|
||||
if ($action == 'settrueWidth') { // Test on permission already done
|
||||
$object->trueWidth = GETPOST('trueWidth');
|
||||
}
|
||||
if ($action == 'settrueHeight') { // Test on permission already done
|
||||
$object->trueHeight = GETPOST('trueHeight');
|
||||
$object->size_units = GETPOST('size_units');
|
||||
$object->size_units = GETPOSTINT('size_units');
|
||||
}
|
||||
if ($action == 'settrueDepth') { // Test on permission already done
|
||||
$object->trueDepth = GETPOST('trueDepth');
|
||||
|
|
|
|||
Loading…
Reference in a new issue