diff options
author | Mario <mario@mariovavti.com> | 2024-06-18 07:18:09 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-06-18 07:18:09 +0000 |
commit | 3f5cfc8fa2bbce74dd899b9cee65d1fc3891e8e1 (patch) | |
tree | 16e0cc5beca886592d5d8f66517b296b2ab3820a /Zotlabs/Module/Item.php | |
parent | 0097840e3294f70f1c6729731d23405e2359c950 (diff) | |
download | volse-hubzilla-3f5cfc8fa2bbce74dd899b9cee65d1fc3891e8e1.tar.gz volse-hubzilla-3f5cfc8fa2bbce74dd899b9cee65d1fc3891e8e1.tar.bz2 volse-hubzilla-3f5cfc8fa2bbce74dd899b9cee65d1fc3891e8e1.zip |
fix return to blank page after editing post under some circumstances
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 0b46f2baf..3d13655d2 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -1262,6 +1262,11 @@ class Item extends Controller { if ((x($_REQUEST, 'return')) && strlen($return_path)) { logger('return: ' . $return_path); + + if ($return_path === 'hq') { + goaway(z_root() . '/hq/' . $datarray['uuid']); + } + goaway(z_root() . "/" . $return_path); } killme(); |