user_id != $user->id) { error_page("Bad user ID"); } $bj = BossaJob::lookup_id($bji->job_id); if (!$bj) { error_page("No such job"); } } static function show_next_job($bj) { $url = "bossa_get_job.php?bossa_app_id=$bj->app_id"; Header("Location: $url"); } } ?>