This commit is contained in:
2022-11-29 14:17:11 +01:00
parent c9a7da688f
commit 25ef07b0b7
32 changed files with 1275 additions and 507 deletions

View File

@@ -128,10 +128,7 @@ namespace Core\API\Groups {
$sql = $this->context->getSQL();
$group = new Group();
$group->name = $name;
$group->color = $color;
$group = new Group(null, $name, $color);
$this->success = ($group->save($sql) !== FALSE);
$this->lastError = $sql->getLastError();