Commit 00857969 authored by Project Open's avatar Project Open

- Added ad_script_abort in order to avoid errors after redirect

parent 2b9ebbae
......@@ -110,7 +110,7 @@ if {!$forum_folder_count} {
if {$actions eq "reply"} {
set parent_id $topic_id
ad_returnredirect [export_vars -base /intranet-forum/new {parent_id return_url}]
return
ad_script_abort
}
......@@ -121,7 +121,7 @@ if {$actions eq "reply"} {
# Forward to "new"
if {$actions eq "edit"} {
ad_returnredirect "/intranet-forum/new?&[export_vars {topic_id return_url}]"
return
ad_script_abort
}
# ------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment