From 5edb978fcbf12ef73c6672776d1c0239a7f02fcd Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Fri, 3 Dec 2004 11:23:53 +0000 Subject: [PATCH] $conn does not exists anymore git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-26 --- htdocs/webredirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/webredirect.php b/htdocs/webredirect.php index ccff074..3b56bf9 100644 --- a/htdocs/webredirect.php +++ b/htdocs/webredirect.php @@ -35,7 +35,7 @@ if (isset($_REQUEST['submit']) and ($_REQUEST['submit'] == "Valider" or $_REQUES } elseif (isset($_REQUEST['submit']) and $_REQUEST['submit'] == "Supprimer") { // on supprime la redirection $globals->db->query("update auth_user_quick set redirecturl = '' where user_id = {$_SESSION['uid']}"); - if (mysql_errno($conn) == 0) { + if (mysql_errno() == 0) { $_SESSION['log']->log("carva_del",$_REQUEST['url']); $_POST['url'] = ''; $page->assign('message',"

Redirection supprimée

"); -- 2.1.4