r1822 + finally stick with pool_id
[racktables] / inc / pagetitles.php
index 0b652a76fad7a284493bb470b0cd78bd0dfff548..0faabf1e5cbfd26ca6fe4d9fb16a97f7d437138e 100644 (file)
@@ -115,10 +115,10 @@ function dynamic_title_rspool ()
        switch ($pageno)
        {
                case 'rspool':
-                       assertUIntArg ('id');
-                       $poolInfo = getRSPoolInfo ($_REQUEST['id']);
+                       assertUIntArg ('pool_id');
+                       $poolInfo = getRSPoolInfo ($_REQUEST['pool_id']);
                        $ret['name'] = empty ($poolInfo['name']) ? 'ANONYMOUS' : $poolInfo['name'];
-                       $ret['params']['id'] = $_REQUEST['id'];
+                       $ret['params']['pool_id'] = $_REQUEST['pool_id'];
                        break;
                default:
                        return NULL;