OSDN Git Service

FIX:$manager->notify()の第二引数に変数を渡すように修正。
[nucleus-jp/nucleus-next.git] / nucleus / libs / LINK.php
index 9a3467e..b202f1d 100644 (file)
@@ -116,15 +116,13 @@ class Link
        
                if ($usePathInfo)
                {
-                       $manager->notify(
-                               'GenerateURL',
-                               array(
+                       $data = array(
                                        'type' => $type,
                                        'params' => $params,
                                        'completed' => &$created,
                                        'url' => &$url
-                               )
-                       );
+                               );
+                       $manager->notify('GenerateURL', $data);
                }
        
                // if a plugin created the URL, return it