adjust argc check in mod/editpost + relative path in mod/message

This commit is contained in:
Jonny Tischbein 2018-09-20 14:41:52 +02:00
parent 807ad14521
commit 58f26d195f
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ function message_post(App $a)
$a->argc = 2;
$a->argv[1] = 'new';
} else {
goaway(System::baseUrl() . '/' . $a->cmd . '/' . $ret);
goaway($a->cmd . '/' . $ret);
}
}