fix traffic display in dashboards
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -89,6 +89,6 @@ class ProgressBar
|
||||
*/
|
||||
public static function traffic(array $attributes): array
|
||||
{
|
||||
return self::pbData('traffic', $attributes['fields'], 1024, (int)Settings::Get('system.report_trafficmax'));
|
||||
return self::pbData('traffic', $attributes['fields'], 1, (int)Settings::Get('system.report_trafficmax'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ return [
|
||||
'label' => lng('admin.stdsubdomain_add') . '?',
|
||||
'type' => 'checkbox',
|
||||
'value' => '1',
|
||||
'checked' => $result['standardsubdomain']
|
||||
'checked' => (bool)$result['standardsubdomain']
|
||||
],
|
||||
'deactivated' => [
|
||||
'label' => lng('admin.deactivated_user'),
|
||||
|
||||
Reference in New Issue
Block a user