r1825 + and the very final fix
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 24 Mar 2008 14:28:13 +0000 (14:28 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 24 Mar 2008 14:28:13 +0000 (14:28 +0000)
inc/ophandlers.php

index 9607f99..c3b11f8 100644 (file)
@@ -1014,11 +1014,11 @@ function addRealServer ()
 {
        global $root, $pageno, $tabno;
 
-       assertUIntArg ('id');
+       assertUIntArg ('pool_id');
        assertIPv4Arg ('remoteip');
        assertUIntArg ('rsport');
        assertStringArg ('rsconfig', TRUE);
-       $pool_id = $_REQUEST['id'];
+       $pool_id = $_REQUEST['pool_id'];
        if (!addRStoRSPool ($pool_id, $_REQUEST['remoteip'], $_REQUEST['rsport'], getConfigVar ('DEFAULT_IPV4_RS_INSERVICE'), $_REQUEST['rsconfig']))
                return "${root}?page=${pageno}&tab=${tabno}&pool_id=${pool_id}&error=" . urlencode ('addRStoRSPool() failed');
        else