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