parent
d1bbed49fc
commit
0ce7d66c3a
|
@ -2969,7 +2969,7 @@ class H5PCore {
|
|||
* @return int|string
|
||||
*/
|
||||
public static function returnBytes($val) {
|
||||
$val = trim($val);
|
||||
$val = (int) trim($val);
|
||||
$last = strtolower($val[strlen($val) - 1]);
|
||||
switch ($last) {
|
||||
case 'g':
|
||||
|
|
Loading…
Reference in New Issue