I18n.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 16 May 2012 09:24:24 +0000 (17:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 16 May 2012 09:24:24 +0000 (17:24 +0800)
I18n.php

index e0439c0..64e3e93 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -150,7 +150,7 @@ class Pman_Core_I18n extends Pman
                     //filtering..
                     if (empty($_REQUEST['q']) ||
                             0 === strcasecmp(
-                                    substring($tz,0, strlen($_REQUEST['q'])),
+                                    substr($tz,0, strlen($_REQUEST['q'])),
                                     $_REQUEST['q'])
                     ) {
                         $ret[] = array('tz' => $tz);