]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountverifycredentials.php
Missed some of the references to the old TwitterApiAction - removed
[quix0rs-gnu-social.git] / actions / apiaccountverifycredentials.php
index 104b9867fd881e361c36d2be6fbaf0c2da21a70f..8b976bbf3d08646f87a2afe882c69abebc5d1c64 100644 (file)
@@ -67,8 +67,9 @@ class ApiAccountVerifyCredentialsAction extends ApiAuthAction
         case 'json':
             $args['id'] = $this->auth_user->id;
             $action_obj = new ApiUserShowAction();
-            $action_obj->prepare($args);
-            $action_obj->handle($args);
+            if ($action_obj->prepare($args)) {
+                $action_obj->handle($args);
+            }
             break;
         default:
             header('Content-Type: text/html; charset=utf-8');