kopia lustrzana https://github.com/friendica/friendica
Add fallback if comment as no parent
rodzic
5d464c353f
commit
a36a780b99
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue