wrong var name - conversation not found

This commit is contained in:
Jonny Tischbein 2018-10-02 18:24:16 +02:00
parent ecb67cfcb4
commit 6d1b98dc0e
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}