OSDN Git Service

MERGE: リビジョン1796。多言語化処理の観点からstrstr()をi18n::strpos()に変更
[nucleus-jp/nucleus-next.git] / nucleus / bookmarklet.php
index acd0da1..2901f43 100644 (file)
@@ -150,7 +150,7 @@ function bm_doEditItem()
        }
        
        // create new category if needed (only on edit/changedate)
-       if ( strstr($catid,'newcat') )
+       if ( i18n::strpos($catid,'newcat') === 0 )
        {
                // get blogid
                list($blogid) = sscanf($catid, "newcat-%d");