Skip to content

Commit 3bccabe

Browse files
committed
Fix bug when creating a system
1 parent 1e5bc2e commit 3bccabe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controllers/admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ public function createSystem() {
679679
$vcsUser = "";
680680
$vcsPassword = "";
681681
}
682-
$system = new \DBA\System(0, $name, $description, $owner, $repository, $branch, $vcsType, $vcsUser, $vcsPassword, date('Y-m-d H:i:s'), date('Y-m-d H:i:s'), 0);
682+
$system = new \DBA\System(0, $name, $description, $owner, $repository, $branch, $vcsType, $vcsUser, $vcsPassword, date('Y-m-d H:i:s'), date('Y-m-d H:i:s'), 0, 0);
683683
$system = Factory::getSystemFactory()->save($system);
684684

685685
if (strlen($system->getVcsUrl()) > 0) {

0 commit comments

Comments
 (0)