This commit is contained in:
2020-06-25 21:53:33 +02:00
parent 37ef65fd2f
commit 1896351a9b
4 changed files with 5 additions and 4 deletions

View File

@@ -156,6 +156,7 @@ namespace Api\Routes {
// INSERT new routes
if ($this->success) {
$stmt = $sql->insert("Route", array("request", "action", "target", "extra", "active"));
foreach($this->routes as $route) {
$stmt->addRow($route["request"], $route["action"], $route["target"], $route["extra"], $route["active"]);
}