diff --git a/include/items.php b/include/items.php index 0fc8fad604..b9e1a0c994 100644 --- a/include/items.php +++ b/include/items.php @@ -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