From e05253327fb5c7df08eff377635f2a57fc388134 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 13 Jan 2012 17:34:40 +1300 Subject: [PATCH] Set the default URL to the default calendar name rather than /home/ --- inc/ui/principal-edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ui/principal-edit.php b/inc/ui/principal-edit.php index 5ee3438a..bbb71bbe 100644 --- a/inc/ui/principal-edit.php +++ b/inc/ui/principal-edit.php @@ -794,7 +794,7 @@ function access_ticket_browser() { $ticket_id = substr( str_replace('/', '', str_replace('+', '',base64_encode(sha1(date('r') .rand(0,2100000000) . microtime(true),true)))), 7, 8); $extra_row = array( 'ticket_id' => $ticket_id, 'expires' => date( 'Y-m-d', time() + (86400 * 31) ), - 'target' => '/'.$editor->Value('username').'/home/' + 'target' => '/'.$editor->Value('username').'/'.$c->home_calendar_name.'/' ); $browser->MatchedRow('ticket_id', $ticket_id, 'edit_ticket_row'); $browser->AddRow($extra_row);