fix non-numeric value error notice
This commit is contained in:
parent
9492943d6d
commit
020b878200
|
@ -916,7 +916,7 @@ $leftt = ($leftt+$llft);
|
|||
}
|
||||
$leftt = $leftt-$res;
|
||||
}else{
|
||||
$leftt = $event_meta['mep_total_seat'][0]- $total_book;
|
||||
$leftt = (int) $event_meta['mep_total_seat'][0]- (int) $total_book;
|
||||
}
|
||||
return $leftt;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue