mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 22:13:05 +09:00
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
This commit is contained in:
1 parent
ccb56f553e
commit
2945cdedc8
1 file changed
+3
-3
@@ -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"];
|
||||
|
||||
Reference in new issue
Block a user