OSDN Git Service

FIX:$manager->notify()の第二引数に変数を渡すように修正。
[nucleus-jp/nucleus-next.git] / nucleus / libs / globalfunctions.php
index ccf5ea6..4ae5a19 100644 (file)
@@ -344,7 +344,8 @@ i18n::set_current_locale($locale);
 
 
 /* login completed */
-$manager->notify('PostAuthentication', array('loggedIn' => $member->isLoggedIn() ) );
+$data = array('loggedIn' => $member->isLoggedIn());
+$manager->notify('PostAuthentication', $data);
 
 /* next action */
 if ( $member->isLoggedIn() && $nextaction )