1
0
Fork 0

Redirect to previous page after NON-AJAX Post delete via second parameter in /item/drop

This commit is contained in:
Jonny Tischbein 2018-10-25 23:57:26 +02:00
commit b66bcb20da
4 changed files with 15 additions and 6 deletions

View file

@ -414,6 +414,7 @@ class Post extends BaseObject
'received' => $item['received'],
'commented' => $item['commented'],
'created_date' => $item['created'],
'return' => ($a->cmd) ? bin2hex($a->cmd) : '',
];
$arr = ['item' => $item, 'output' => $tmp_item];