fixing warning php7

This commit is contained in:
magepeopleteam 2019-02-17 04:46:43 +00:00
parent ec3dcba4e3
commit 740d3ae6c2
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ $qm = $field['option_name_t'];
$rsv = (int)$field['option_rsv_t'];
$tesqn = $pid.str_replace(' ', '', $qm);
$tesq = get_post_meta($pid,"mep_xtra_$tesqn",true);
$tesq = ($tesq + $rsv);
$tesq = ((int)$tesq + (int)$rsv);
$llft = ($field['option_qty_t'] - (int)$tesq);
$qty_t_type = $field['option_qty_t_type'];
?>