From 0ca86b6e1c781890f3dbb3b287732e6e68918d82 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 9 Dec 2011 14:54:22 +0000 Subject: [PATCH] =?UTF-8?q?#489=20Efface=20menu=20+=20d=C3=A9pendance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/profile.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/profile.inc.php b/include/profile.inc.php index e74130626..6f849783a 100644 --- a/include/profile.inc.php +++ b/include/profile.inc.php @@ -120,7 +120,7 @@ if (isset($_POST['mod'])) $cn->start(); if ( isset ($del_dep)) { - $cn->exec_sql("delete from profile_menu where pm_id in (select * from get_menu_dependency($1)", + $cn->exec_sql("delete from profile_menu where pm_id in (select * from get_menu_dependency($1))", array($pm_id)); } $cn->exec_sql("delete from profile_menu where pm_id=$1",