X-Git-Url: http://git.onelab.eu/?p=plewww.git;a=blobdiff_plain;f=planetlab%2Fcommon%2Factions.php;h=7f751b0cba7390fd5cbd34cae8c3d6d450d35531;hp=c4290afa9782b664f89f5bc2533285a2de10f804;hb=ec5d361f1753333c0fc8b51140f8819895df260e;hpb=f831adeb944ad788c6091d561917a154112583eb diff --git a/planetlab/common/actions.php b/planetlab/common/actions.php index c4290af..7f751b0 100644 --- a/planetlab/common/actions.php +++ b/planetlab/common/actions.php @@ -393,8 +393,10 @@ switch ($action) { case 'reboot-node-with-pcu': { $node_id=intval($_POST['node_id']); $hostname= $_POST['hostname']; + $test = $_POST['test']; + settype($test, "boolean"); - $ret = $api->RebootNodeWithPCU( $node_id ); + $ret = $api->RebootNodeWithPCU( $node_id, $test ); $error= $api->error(); if( empty( $error ) ) {