From 2945cdedc873608df79739489e25ef4e7ff152c3 Mon Sep 17 00:00:00 2001 From: Ian Berry Date: Tue, 13 Aug 2002 06:11:49 +0000 Subject: [PATCH] updated moveup/down function calls git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@189 860744bd-22fc-0310-8c96-e9fe5004b5ca --- cdef.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cdef.php b/cdef.php index 7b78d2249..03b453573 100644 --- a/cdef.php +++ b/cdef.php @@ -120,13 +120,13 @@ function form_save() { function item_movedown() { global $args; - move_item_down("cdef_items", $args[id], "cdef_id", $args[cdef_id]); + move_item_down("cdef_items", $args[id], "cdef_id=$args[cdef_id]"); } function item_moveup() { global $args; - move_item_up("cdef_items", $args[id], "cdef_id", $args[cdef_id]); + move_item_up("cdef_items", $args[id], "cdef_id=$args[cdef_id]"); } function item_remove() { @@ -150,7 +150,7 @@ function item_save() { header ("Location: cdef.php?action=edit&id=$form[cdef_id]"); exit; } - $sequence = get_sequence($form[id], "sequence", "cdef_items", "cdef_id", $form[cdef_id]); + $sequence = get_sequence($form[id], "sequence", "cdef_items", "cdef_id=$form[cdef_id]"); $save["id"] = $form["id"]; $save["cdef_id"] = $form["cdef_id"];