]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Forgot to make syntax edits on last commit.
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 1 Mar 2015 11:45:58 +0000 (12:45 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 1 Mar 2015 11:45:58 +0000 (12:45 +0100)
actions/apiaccountregister.php
actions/register.php

index 14a75fc27ea6f21cec9e3ece1be61c17e52888d1..1c0ebe5705bd623800b057dc3b37fd3f30963f76 100644 (file)
@@ -163,7 +163,7 @@ class ApiAccountRegisterAction extends ApiAction
                                                     'homepage' => $homepage,
                                                     'bio' => $bio,
                                                     'location' => $location,
-                                                    'code' => $this->code))) {
+                                                    'code' => $this->code));
                 Event::handle('EndRegistrationTry', array($this));
 
                 $this->initDocument('json');
index 7e48df9ac7d9efd0d92be90d3e663fed70a9ce01..7ab04534f6ffaf6ae72d7ebe6d237ff6f5581438 100644 (file)
@@ -236,7 +236,7 @@ class RegisterAction extends Action
                                                     'homepage' => $homepage,
                                                     'bio' => $bio,
                                                     'location' => $location,
-                                                    'code' => $code))) {
+                                                    'code' => $code));
                     // success!
                     if (!common_set_user($user)) {
                         // TRANS: Server error displayed when saving fails during user registration.