r1822 + finally stick with pool_id
[racktables] / inc / triggers.php
index 98d8ab399f240b7ac511f505f2c84d0d24c934d8..047bddc951dae897ee23335c72efd4e11153b3fb 100644 (file)
@@ -82,8 +82,8 @@ function trigger_natv4 ()
 
 function trigger_poolrscount ()
 {
-       assertUIntArg ('id');
-       $poolInfo = getRSPoolInfo ($_REQUEST['id']);
+       assertUIntArg ('pool_id');
+       $poolInfo = getRSPoolInfo ($_REQUEST['pool_id']);
        return count ($poolInfo['rslist']) > 0;
 }