wrong var name - conversation not found
This commit is contained in:
parent
ecb67cfcb4
commit
6d1b98dc0e
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ function message_content(App $a)
|
|||
$cmd = $a->argv[1];
|
||||
if ($cmd === 'drop') {
|
||||
$message = DBA::selectFirst('mail', ['convid'], ['id' => $a->argv[2], 'uid' => local_user()]);
|
||||
if(!DBA::isResult($r)){
|
||||
if(!DBA::isResult($message)){
|
||||
info(L10n::t('Conversation not found.') . EOL);
|
||||
goaway('/message');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue