Ignore:
Timestamp:
Jun 30, 2020 12:58:18 AM (4 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Utilities.inc.php

    r724 r729  
    404404    $num = mb_strlen($text);
    405405    for ($i=0; $i<$num; $i++) {
    406         $output .= sprintf('&#%03s', ord($text{$i}));
     406        $output .= sprintf('&#%03s', ord($text[$i]));
    407407    }
    408408    return $output;
     
    707707    $val = trim(ini_get($val));
    708708    if ($val != '') {
    709         $unit = strtolower($val{strlen($val) - 1});
     709        $unit = strtolower($val[mb_strlen($val) - 1]);
    710710        $val = preg_replace('/\D/', '', $val);
    711711
Note: See TracChangeset for help on using the changeset viewer.