fix wrong field name for best effort toggle (unconfirmed)
smbaker [Mon, 5 Nov 2012 00:31:19 +0000 (16:31 -0800)]
apps/gacksadmin/user_service_level.php

index 5c87efe..8d34a66 100644 (file)
@@ -90,9 +90,9 @@ EOF;
         $renew_combo = $form->select_html("autoRenew", $renew_selectors);\r
 \r
         $freeze_selectors = array();\r
-        $freeze_selectors []= array("display"=>"Allow best effort slivers", "value"=>"0", "selected"=>!$account['freezeUnreserved']);\r
-        $freeze_selectors []= array("display"=>"Prevent best effort slivers", "value"=>"1", "selected"=>$account['freezeUnreserved']);\r
-        $freeze_combo = $form->select_html("freezeUnreserved", $freeze_selectors);\r
+        $freeze_selectors []= array("display"=>"Allow best effort slivers", "value"=>"1", "selected"=>!$account['freezeUnreserved']);\r
+        $freeze_selectors []= array("display"=>"Prevent best effort slivers", "value"=>"0", "selected"=>$account['freezeUnreserved']);\r
+        $freeze_combo = $form->select_html("enableBestEffort", $freeze_selectors);\r
 \r
         print <<< EOF\r
 <br><br><p>You may choose whether or not your service will\r