Explorar el Código

edit ressource

andre hace 2 años
padre
commit
04ed206b23

+ 1 - 1
app/UI/Client/Ressource/Providers/EditRessourceDataProvider.php

@@ -104,7 +104,7 @@ class EditRessourceDataProvider extends BaseDataProvider
         $this->data['name']          = $ressource[0]['name'];
         $this->data['domain']        = $this->getWhmcsParamByKey('domain');
         $this->data['status']        = $ressource[0]['isEnabled'] == true ? Kerio::ACC_STATUS_ACTIVE : Kerio::ACC_STATUS_CLOSED;
-        $this->data['type']          = $ressource[0]['type'] === 'Room' ? di('lang')->absoluteT('kerio','ressource','type','location') : di('lang')->absoluteT('kerio','ressource','type','equipment');;
+        $this->data['type']          = $ressource[0]['type'] === 'Room' ? di('lang')->absoluteT('kerio','ressource','type','location') : di('lang')->absoluteT('kerio','ressource','type','equipment');
         $this->data['description']   = $ressource[0]['description'];
         $this->data['manager']       = $ressource[0]['manager']['name'] . '@' . $ressource[0]['manager']['domainName'];