mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Add fallback if comment as no parent
This commit is contained in:
parent
5d464c353f
commit
a36a780b99
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue