OSDN Git Service

BUG fix parseHighlight() method in globalfunctions.php
authorshizuki <shizuki@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sun, 22 Mar 2009 16:21:41 +0000 (16:21 +0000)
committershizuki <shizuki@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sun, 22 Mar 2009 16:21:41 +0000 (16:21 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@991 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/libs/globalfunctions.php

index c902d8c..b5b45b5 100755 (executable)
@@ -704,7 +704,7 @@ function parseHighlight($query) {
        // get rid of quotes\r
        $query = preg_replace('/\'|"/', '', $query);\r
 \r
-       if (!query) {\r
+       if (!$query) {\r
                return array();\r
        }\r
 \r