Browse Source

Add fallback if comment as no parent

tags/2019.01
Jonny Tischbein 1 year ago
parent
commit
a36a780b99
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      include/items.php

+ 5
- 0
include/items.php View File

@@ -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…
Cancel
Save