Add fallback if comment as no parent

このコミットが含まれているのは:
Jonny Tischbein 2018-11-18 12:46:21 +01:00
コミット a36a780b99
1個のファイルの変更5行の追加0行の削除

ファイルの表示

@ -429,6 +429,11 @@ function drop_item($id, $return = '')
$a->internalRedirect('display/' . $parentitem['guid']);
//NOTREACHED
}
// In case something goes wrong
else {
$a->internalRedirect('network');
//NOTREACHED
}
}
else {
// if unknown location or deleting top level post called from display