Skip to content

Commit d692415

Browse files
committed
Minor: Cast string to int to avoid warning
1 parent f58bd9b commit d692415

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/main/inc/ajax/statistics.ajax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@
14611461
$dir = api_get_path(SYMFONY_SYS_PATH).'var/';
14621462
$du = exec('du -s '.$dir, $err);
14631463
list($size, $none) = explode("\t", $du);
1464-
$size = round($size / (1024*1024), 1);
1464+
$size = round((int) $size / (1024*1024), 1);
14651465
unset($none);
14661466
$limit = '';
14671467
$url = api_get_access_url($accessUrlId)['url'];

0 commit comments

Comments
 (0)