r4177 cloneVSTRule(): add missing argument to commitUpdateVSTRules()
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 31 Jan 2011 17:32:57 +0000 (17:32 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 31 Jan 2011 17:32:57 +0000 (17:32 +0000)
inc/ophandlers.php

index e87f564c4f38cc0ae9ebde7784bc459c4257f4e9..b15cbce644dab902bee2f3c3ebd100182b31357f 100644 (file)
@@ -2682,7 +2682,7 @@ function cloneVSTRule()
        {
                assertUIntArg ('from_id');
                $src_vst = getVLANSwitchTemplate ($_REQUEST['from_id']);
-               if (! commitUpdateVSTRules ($_REQUEST['vst_id'], $src_vst['rules']))
+               if (! commitUpdateVSTRules ($_REQUEST['vst_id'], $_REQUEST['mutex_rev'], $src_vst['rules']))
                        $message = 'DB error';
        }
        $result = !(BOOL) $message;