fix non-numeric value error notice

This commit is contained in:
magepeopleteam 2019-03-31 09:06:53 +00:00
parent 9492943d6d
commit 020b878200
1 changed files with 1 additions and 1 deletions

View File

@ -916,7 +916,7 @@ $leftt = ($leftt+$llft);
} }
$leftt = $leftt-$res; $leftt = $leftt-$res;
}else{ }else{
$leftt = $event_meta['mep_total_seat'][0]- $total_book; $leftt = (int) $event_meta['mep_total_seat'][0]- (int) $total_book;
} }
return $leftt; return $leftt;
} }