'note' -> 'notice' in an error message -- thx to AVRS on IRC for the catch on translatewiki.net :D
This commit is contained in:
parent
3438a78c02
commit
5b0ca315b4
@ -256,7 +256,7 @@ class AtompubfavoritefeedAction extends ApiAuthAction
|
|||||||
if (empty($notice)) {
|
if (empty($notice)) {
|
||||||
// XXX: import from listed URL or something
|
// XXX: import from listed URL or something
|
||||||
// TRANS: Client exception thrown when trying favorite a notice without content.
|
// TRANS: Client exception thrown when trying favorite a notice without content.
|
||||||
throw new ClientException(_('Unknown note.'));
|
throw new ClientException(_('Unknown notice.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$old = Fave::pkeyGet(array('user_id' => $this->auth_user->id,
|
$old = Fave::pkeyGet(array('user_id' => $this->auth_user->id,
|
||||||
|
Loading…
Reference in New Issue
Block a user