r1729 + fix ticket:144 (this was actually a regression caused by changeset 1650)
authorDenis Ovsienko <infrastation@yandex.ru>
Tue, 26 Feb 2008 12:45:58 +0000 (12:45 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 26 Feb 2008 12:45:58 +0000 (12:45 +0000)
inc/ophandlers.php

index 4c059953184e21465b84d4eb3ceea096c10dbccf..454428d7ff4b4b69a2d365394f04c2b25e6e9c63 100644 (file)
@@ -13,9 +13,8 @@ function addPortForwarding ()
        assertIPv4Arg ('localip');
        assertIPv4Arg ('remoteip');
        assertUIntArg ('localport');
-       assertUIntArg ('remoteport');
        assertUIntArg ('proto');
-       assertStringArg ('description');
+       assertStringArg ('description', TRUE);
        $object_id = $_REQUEST['object_id'];
        $localip = $_REQUEST['localip'];
        $remoteip = $_REQUEST['remoteip'];