Changeset 753


Ignore:
Timestamp:
Nov 14, 2021 1:53:34 AM (2 years ago)
Author:
anonymous
Message:
 
Location:
branches/1.1dev/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/lib/AuthSQL.inc.php

    r708 r753  
    558558            $V = substr('aeiouyAEIOUY', (mt_rand() % 12), 1);
    559559            $d = substr('0123456789', (mt_rand() % 10), 1);
    560             $str .= $$pattern{$i};
     560            $str .= $$pattern[$i];
    561561        }
    562562        return $str;
  • branches/1.1dev/lib/Utilities.inc.php

    r749 r753  
    340340    $num = strlen($text);
    341341    for ($i=0; $i<$num; $i++) {
    342         $output .= sprintf('&#%03s', ord($text{$i}));
     342        $output .= sprintf('&#%03s', ord($text[$i]));
    343343    }
    344344    return $output;
Note: See TracChangeset for help on using the changeset viewer.