X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4a3754f39ede85db41f93f31bd82c516ce23e01a..ab53f7a7b9b0e0ca43b6950c3389cd3889e74d82:/template_add.php diff --git a/template_add.php b/template_add.php index 4fed72d5..6fb0238e 100644 --- a/template_add.php +++ b/template_add.php @@ -28,7 +28,7 @@ require_once('initialize.php'); import('form.Form'); -// import('ttTemplateHelper'); +import('ttTemplateHelper'); // Access checks. if (!ttAccessAllowed('manage_advanced_settings')) { @@ -64,7 +64,7 @@ if ($request->isPost()) { if (ttTemplateHelper::insert(array( 'name' => $cl_name, 'description' => $cl_description, - 'coontent' => $cl_content))) { + 'content' => $cl_content))) { header('Location: templates.php'); exit(); } else