fix php 8

This commit is contained in:
Ibnu Maksum
2023-09-26 13:50:02 +07:00
parent 106aaf827f
commit 8d83763b62
3 changed files with 11 additions and 7 deletions

View File

@ -260,10 +260,10 @@ switch ($action) {
break;
case 'print-voucher':
$from_id = _post('from_id') * 1;
$planid = _post('planid') * 1;
$pagebreak = _post('pagebreak') * 1;
$limit = _post('limit') * 1;
$from_id = _post('from_id');
$planid = _post('planid');
$pagebreak = _post('pagebreak');
$limit = _post('limit');
if ($pagebreak < 1) $pagebreak = 6;