# HG changeset patch # User peter # Date 1202755324 0 # Node ID 8a239565e9b38782977385b170293b1889b708bb # Parent a5cf0384e9b4e54f8f4e3adc4076eefe2a73152d [feladat @ 120] Fixed a bug reported by Techwolf. When editing or deleting an user the user was redirected to a non existing page. This probably happened when BASE_URL and/or BASE_PATH was set wrong in the config.inc.php. diff -r a5cf0384e9b4 -r 8a239565e9b3 delete_user.php --- a/delete_user.php Sun Feb 03 16:50:06 2008 +0000 +++ b/delete_user.php Mon Feb 11 18:42:04 2008 +0000 @@ -49,7 +49,7 @@ } delete_user($id); - clean_page($BASE_URL . $BASE_PATH . "users.php"); + clean_page("users.php"); } include_once("inc/header.inc.php"); ?> diff -r a5cf0384e9b4 -r 8a239565e9b3 edit_user.php --- a/edit_user.php Sun Feb 03 16:50:06 2008 +0000 +++ b/edit_user.php Mon Feb 11 18:42:04 2008 +0000 @@ -35,7 +35,7 @@ } if(edit_user($_POST["number"], $_POST["username"], $_POST["fullname"], $_POST["email"], $_POST["level"], $_POST["description"], $active, $_POST["password"])) { - clean_page($BASE_URL . $BASE_PATH . "users.php"); + clean_page("users.php"); } else {