mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 22:20:29 +01:00
Bugfix api_account
This commit is contained in:
parent
15a4784662
commit
5e0939904d
@ -1576,6 +1576,7 @@ CREATE TABLE IF NOT EXISTS `api_account` (
|
|||||||
`projekt` int(11) NOT NULL DEFAULT '0',
|
`projekt` int(11) NOT NULL DEFAULT '0',
|
||||||
`permissions` text,
|
`permissions` text,
|
||||||
`is_legacy` tinyint(1) NOT NULL DEFAULT '0',
|
`is_legacy` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
|
`ishtmltransformation` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
@ -68,7 +68,7 @@ class EasyTable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->page = $page;
|
$this->page = $page;
|
||||||
$this->start = ($page - 1) * $this->limit;
|
$this->start = ((int)$page - 1) * ((int) $this->limit);
|
||||||
|
|
||||||
$sql .= " LIMIT {$this->start},{$this->limit}";
|
$sql .= " LIMIT {$this->start},{$this->limit}";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user