OSDN Git Service

FIX: PHP5/MySQL5における文法違反コードの修正
[nucleus-jp/nucleus-jp-ancient.git] / createaccount.php
index 00af4a1..25ce7d3 100644 (file)
@@ -75,9 +75,17 @@ if ($CONF['AllowMemberCreate']==1) {
                                <br />\r
                <?php\r
                // add extra fields from Plugins, like NP_Profile\r
-               $manager->notify('RegistrationFormExtraFields', array('type' => 'createaccount.php', 'prelabel' => '', 'postlabel' => '<br />', 'prefield' => '', 'postfield' => '<br /><br />'));\r
+               $param = array(\r
+                       'type'          => 'createaccount.php',\r
+                       'prelabel'      => '',\r
+                       'postlabel'     => '<br />',\r
+                       'prefield'      => '',\r
+                       'postfield'     => '<br /><br />'\r
+               );\r
+               $manager->notify('RegistrationFormExtraFields', $param);\r
                // add a Captcha challenge or something else\r
-               $manager->notify('FormExtra', array('type' => 'membermailform-notloggedin'));\r
+               $param = array('type' => 'membermailform-notloggedin');\r
+               $manager->notify('FormExtra', $param);\r
                ?>\r
                <br />\r
                <br />\r