|
|
@@ -127,9 +127,9 @@ class EditAccountDataProvider extends BaseDataProvider
|
|
|
$this->data['mobile_phone'] = $address['contacts'][0]['phoneNumberMobile'];
|
|
|
$this->data['department'] = $address['contacts'][0]['departmentName'];
|
|
|
$this->data['office'] = $address['contacts'][0]['postalAddressWork']['extendedAddress'];
|
|
|
- if ($account[0]['diskSizeLimit']['isActive'] == TRUE) {
|
|
|
- $this->data['quota'] = $account[0]['limit']['value'];
|
|
|
- $this->data['unit'] = $account[0]['limit']['units'];
|
|
|
+ if ($account[0]['diskSizeLimit']['isActive'] === TRUE) {
|
|
|
+ $this->data['quota'] = $account[0]['diskSizeLimit']['limit']['value'];
|
|
|
+ $this->data['unit'] = $account[0]['diskSizeLimit']['limit']['units'];
|
|
|
} else {
|
|
|
$this->data['quota'] = 0;
|
|
|
}
|