From f4cf6e5eb4928d6691197a78185c0766e8a28d05 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 23 Jan 2003 10:38:11 +0000 Subject: [PATCH] fixed for the case where owl_root_url="" --- presentation/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/logout.php b/presentation/logout.php index 65d8f3f..c7bee0c 100644 --- a/presentation/logout.php +++ b/presentation/logout.php @@ -21,5 +21,5 @@ require_once("../config/dmsDefaults.php"); // destroy the session Session::destroy(); // redirect to root -redirect("$default->owl_root_url"); +redirect((strlen($default->owl_root_url) > 0 ? $default->owl_root_url : "/")); ?> -- libgit2 0.21.4