From 6d1b98dc0e951445e447a60d3ee17368891d17b8 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Tue, 2 Oct 2018 18:24:16 +0200 Subject: [PATCH] wrong var name - conversation not found --- mod/message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/message.php b/mod/message.php index 38a9ecd9c2..264912da67 100644 --- a/mod/message.php +++ b/mod/message.php @@ -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'); } -- 2.39.5