summaryrefslogtreecommitdiff
path: root/actions/apiaccountupdateprofilebackgroundimage.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apiaccountupdateprofilebackgroundimage.php')
-rw-r--r--actions/apiaccountupdateprofilebackgroundimage.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/apiaccountupdateprofilebackgroundimage.php b/actions/apiaccountupdateprofilebackgroundimage.php
index 87af962d2..badd8db00 100644
--- a/actions/apiaccountupdateprofilebackgroundimage.php
+++ b/actions/apiaccountupdateprofilebackgroundimage.php
@@ -114,6 +114,7 @@ class ApiAccountUpdateProfileBackgroundImageAction extends ApiAuthAction
}
if (empty($this->user)) {
+ // TRANS: Client error when user not found updating a profile background image.
$this->clientError(_('No such user.'), 404, $this->format);
return;
}