X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a7ba11adfecf6cb906749efe5abce688363aef07..9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c:/initialize.php diff --git a/initialize.php b/initialize.php index 9dc9d7bc..2cb0f5be 100644 --- a/initialize.php +++ b/initialize.php @@ -152,7 +152,7 @@ import('html.HttpRequest'); $request = new ttHttpRequest(); import('form.ActionErrors'); -$errors = new ActionErrors(); +$err = new ActionErrors(); $messages = new ActionErrors(); // Create an instance of ttUser class. This gets us most of user details. @@ -193,7 +193,7 @@ $GLOBALS['USER'] = &$user; // Assign things for smarty to use in template files. $smarty->assign('i18n', $i18n->keys); -$smarty->assign('errors', $errors); +$smarty->assign('errors', $err); $smarty->assign('messages', $messages); // TODO: move this code out of here to the files that use it.