From c5016e45a3a1c3055c7c49235971e3e71d807a78 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 31 Aug 2001 16:35:43 +0000 Subject: [PATCH] Make cancel button work --- preferences/preferences.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/preferences/preferences.php b/preferences/preferences.php index ac8b28a153..d646285d1e 100755 --- a/preferences/preferences.php +++ b/preferences/preferences.php @@ -25,6 +25,11 @@ ); include('../header.inc.php'); + if ($GLOBALS['HTTP_POST_VARS']['cancel']) + { + Header('Location: ' . $GLOBALS['phpgw']->link('/preferences/index.php')); + } + // Make things a little easier to follow function is_admin() {