]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apigroupleave.php
Consistant error for groups that dont exist in API
[quix0rs-gnu-social.git] / actions / apigroupleave.php
index 8665ea1aa81f28b45cb39b28e059067321dda080..514a3a557da4e923dbe419e9cf150607c92cbfe2 100644 (file)
@@ -101,7 +101,7 @@ class ApiGroupLeaveAction extends ApiAuthAction
         }
 
         if (empty($this->group)) {
-            $this->clientError('Group not found!', 404, $this->format);
+            $this->clientError(_('Group not found!'), 404, $this->format);
             return false;
         }