p::clean($user->name))), html::anchor("user/$user->id", p::clean($user->name))); if ($continue_url = $this->input->get("continue")) { $item = url::get_item_from_uri($continue_url); if (access::can("view", $item)) { // Don't use url::redirect() because it'll call url::site() and munge the continue url. header("Location: $continue_url"); } else { url::redirect("albums/1"); } } } }