I18n.php
[Pman.Core] / I18n.php
index 2236d6f..64e3e93 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -147,9 +147,10 @@ class Pman_Core_I18n extends Pman
                 $tza= array_unique($tza);
                 sort($tza);
                 foreach($tza as $tz) {
+                    //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);