Make cancel button work

This commit is contained in:
Miles Lott 2001-08-31 16:35:43 +00:00
parent 2b19a2b95c
commit c5016e45a3

View File

@ -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()
{