improve comments system

This commit is contained in:
isUnknown 2025-01-28 09:37:33 +01:00
parent 8bb4f552cd
commit e55eb48f45
5 changed files with 63 additions and 41 deletions

View file

@ -22,7 +22,7 @@ class Position
public function toArray() {
$array = [];
if ($this->pageIndex) {
if (isset($this->pageIndex)) {
$array["pageIndex"] = $this->pageIndex;
}