Ignore:
Timestamp:
Apr 5, 2007 1:48:45 AM (17 years ago)
Author:
quinn
Message:

Converted all string functions to multi-byte (mb_*) functions

File:
1 edited

Legend:

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

    r176 r247  
    222222    function _getRandomNumber()
    223223    {
    224         return substr(strval(rand(10000, 99999)), 0, rand(3, 5));
     224        return mb_substr(strval(rand(10000, 99999)), 0, rand(3, 5));
    225225    }
    226226
Note: See TracChangeset for help on using the changeset viewer.