fixing warning php7
This commit is contained in:
parent
ec3dcba4e3
commit
740d3ae6c2
|
@ -26,7 +26,7 @@ $qm = $field['option_name_t'];
|
||||||
$rsv = (int)$field['option_rsv_t'];
|
$rsv = (int)$field['option_rsv_t'];
|
||||||
$tesqn = $pid.str_replace(' ', '', $qm);
|
$tesqn = $pid.str_replace(' ', '', $qm);
|
||||||
$tesq = get_post_meta($pid,"mep_xtra_$tesqn",true);
|
$tesq = get_post_meta($pid,"mep_xtra_$tesqn",true);
|
||||||
$tesq = ($tesq + $rsv);
|
$tesq = ((int)$tesq + (int)$rsv);
|
||||||
$llft = ($field['option_qty_t'] - (int)$tesq);
|
$llft = ($field['option_qty_t'] - (int)$tesq);
|
||||||
$qty_t_type = $field['option_qty_t_type'];
|
$qty_t_type = $field['option_qty_t_type'];
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue