OSDN Git Service

Correct $matches => $match
authorhenoheno <henoheno>
Sun, 1 Aug 2004 13:37:13 +0000 (22:37 +0900)
committerhenoheno <henoheno>
Sun, 1 Aug 2004 13:37:13 +0000 (22:37 +0900)
lib/func.php

index 98d1eb6..e75c893 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: func.php,v 1.2 2004/08/01 13:16:25 henoheno Exp $
+// $Id: func.php,v 1.3 2004/08/01 13:37:13 henoheno Exp $
 //
 
 // Ê¸»úÎó¤¬InterWikiName¤«¤É¤¦¤«
@@ -271,7 +271,7 @@ function decode($key)
 // [[ ]] ¤ò¼è¤ê½ü¤¯
 function strip_bracket($str)
 {
-       $matches = array();
+       $match = array();
        if (preg_match('/^\[\[(.*)\]\]$/', $str, $match)) {
                return $match[1];
        } else {