Redirect to previous page after NON-AJAX Post delete via second parameter in /item/drop
This commit is contained in:
parent
7d5494dd67
commit
b66bcb20da
4 changed files with 15 additions and 6 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue