From d1b10ee92bec69e8401bca743b8145f98437074f Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 22 Nov 2014 12:26:51 +0100 Subject: [PATCH] Don't define a variable in a function call --- actions/apitimelineuser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5