From: Mikael Nordfeldth Date: Sat, 22 Nov 2014 11:26:51 +0000 (+0100) Subject: Don't define a variable in a function call X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d1b10ee92bec69e8401bca743b8145f98437074f;p=quix0rs-gnu-social.git Don't define a variable in a function call --- diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index 97462452f2..b105a29dd1 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -224,7 +224,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction break; default: // TRANS: Client error displayed when coming across a non-supported API method. - $this->clientError(_('API method not found.'), $code = 404); + $this->clientError(_('API method not found.'), 404); } }