Add fallback if comment as no parent

This commit is contained in:
Jonny Tischbein 2018-11-18 12:46:21 +01:00
부모 5d464c353f
커밋 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