Permalink
Browse files

Tweak error handling of permissions

  • Loading branch information...
1 parent 7eef8d4 commit 2c2cd306b7138bfa1acd29dfe3e47410211dc1ae Kristian Lyngstol committed Jan 25, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 public_html/subs/env.php
View
@@ -145,6 +145,7 @@ function next_action($action, &$object)
/* Ticket handeling */
$ticket = new Ticket_System($event);
+ $page->ctrl2->add($ticket);
/* Populate the menu */
$menucrew = new menuboks("/" . $event->title);
@@ -155,7 +156,6 @@ function next_action($action, &$object)
if ($act != false && !isset($session->action))
$session->action = $act;
- $page->ctrl2->add($ticket);
/* Set up news handeling */
global $news;

0 comments on commit 2c2cd30

Please sign in to comment.