From 329cc1f9b6657ce580b3a297e39a7cd259a62537 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 16 May 2013 17:19:15 -0700 Subject: More PHP warning and notice fixes. --- globe.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'globe.php') diff --git a/globe.php b/globe.php index 236ef8d..d8cc78d 100644 --- a/globe.php +++ b/globe.php @@ -174,7 +174,8 @@ Function CheckAuth($page) { //TODO: Contains domain !! Function DoRedirect($message = "Thanks", $to = NULL, $duration = "3") { - $to=(is_null($to)?$mydomain:$to); + global $mydomain; + $to = (is_null($to)?$mydomain:$to); if ($duration == 0) { header("Location: $to"); -- cgit v1.2.3