pull/44/merge
VASILEIOS SOTIRAS 2017-11-29 16:49:24 +00:00 committed by GitHub
commit 30b6a9c845
1 changed files with 1 additions and 1 deletions

View File

@ -3060,7 +3060,7 @@ class H5PCore {
* @return int|string
*/
public static function returnBytes($val) {
$val = trim($val);
$val = (int)trim($val);
$last = strtolower($val[strlen($val) - 1]);
$bytes = (int) $val;