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

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