index 77f84cd27050b1b1d001c4ca5f128e26dd94e302..b6fc3e3998109230811f1d9c1d9bab9b5311603f 100644 (file)
$str = "";
if($position == 2){
- $r = "" != search_config($this->config->data,"faiManagement","POSTREMOVE");
- $c = "" != search_config($this->config->data,"faiManagement","POSTCREATE");
+ /* Check if there are post commands available for fai management.
+ * If not, grey out freeze/branch and release remove buttons.
+ */
+ $r = ("" != search_config($this->config->data,"faiManagement","POSTREMOVE"));
+ $c = ("" != search_config($this->config->data,"faiManagement","POSTCREATE"));
$smarty = get_smarty();
$smarty->assign("allow_create", $c);