Bugfix api_account

This commit is contained in:
Xenomporio 2022-05-24 16:43:52 +02:00
parent 15a4784662
commit 5e0939904d
2 changed files with 554 additions and 553 deletions

View File

@ -1576,6 +1576,7 @@ CREATE TABLE IF NOT EXISTS `api_account` (
`projekt` int(11) NOT NULL DEFAULT '0',
`permissions` text,
`is_legacy` tinyint(1) NOT NULL DEFAULT '0',
`ishtmltransformation` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

View File

@ -68,7 +68,7 @@ class EasyTable {
}
$this->page = $page;
$this->start = ($page - 1) * $this->limit;
$this->start = ((int)$page - 1) * ((int) $this->limit);
$sql .= " LIMIT {$this->start},{$this->limit}";
}