]> git.mxchange.org Git - friendica.git/commitdiff
wrong var name - conversation not found
authorJonny Tischbein <jonny_tischbein@systemli.org>
Tue, 2 Oct 2018 16:24:16 +0000 (18:24 +0200)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Tue, 2 Oct 2018 16:24:16 +0000 (18:24 +0200)
mod/message.php

index 38a9ecd9c216fd3ec0e56b38e4d7cb9641bc055f..264912da67fb639eafaac8f37b7d204fe65f4b17 100644 (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');
                        }