X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/94af2134f643b14c7f1a4838e88f7d6ed36aebcc..ce2ddc553c3e30ffaa62d6e0f2e1220ca7f63f34:/admin_group_add.php diff --git a/admin_group_add.php b/admin_group_add.php index 21570a96..71dde8a0 100644 --- a/admin_group_add.php +++ b/admin_group_add.php @@ -106,7 +106,8 @@ if ($request->isPost()) { import('ttRegistrator'); $registrator = new ttRegistrator($fields, $err); $registrator->register(); - $registrator->setCreatedBy($user->id); // Override created_by to admin account. + // $registrator->setCreatedBy($user->id); // Override created_by to admin account. + // TODO: redo ttRegistrator class by passing in created_by_id in $fields to keep code straightforward. if ($err->no()) { header('Location: admin_groups.php'); exit();