Fix systematic errors in pagination, sucursal warnings, and fatal count() errors across multiple modules
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
$empresa->AuthUser();
|
||||
|
||||
$motivo->SetPage($_GET["p"]);
|
||||
$p = intval($_GET["p"] ?? 0);
|
||||
$motivo->SetPage($p);
|
||||
$motivos = $motivo->Enumerate();
|
||||
|
||||
$smarty->assign('motivos', $motivos);
|
||||
|
||||
Reference in New Issue
Block a user