summaryrefslogtreecommitdiff
path: root/actions/apiaccountverifycredentials.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-09 17:21:22 -0700
committerZach Copley <zach@status.net>2009-10-09 17:21:22 -0700
commit57dfad64beae100187dcaf3c205645e89611e115 (patch)
treeacd2cbb305b844c2814f235dd19d3ac9c199b5e9 /actions/apiaccountverifycredentials.php
parent559918826a714c1ee2ecdc49dcfc2b67451a9864 (diff)
Missed some of the references to the old TwitterApiAction - removed
Diffstat (limited to 'actions/apiaccountverifycredentials.php')
-rw-r--r--actions/apiaccountverifycredentials.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/apiaccountverifycredentials.php b/actions/apiaccountverifycredentials.php
index 104b9867f..8b976bbf3 100644
--- a/actions/apiaccountverifycredentials.php
+++ b/actions/apiaccountverifycredentials.php
@@ -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');