Index: openacs-4/packages/news/www/item-create-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/item-create-3.tcl,v diff -u -r1.22.2.1 -r1.22.2.2 --- openacs-4/packages/news/www/item-create-3.tcl 14 Feb 2019 16:15:01 -0000 1.22.2.1 +++ openacs-4/packages/news/www/item-create-3.tcl 12 Apr 2021 13:41:20 -0000 1.22.2.2 @@ -80,12 +80,11 @@ # case: user submitted news item, is returned to a Thank-you page set title [_ news.News_item_submitted] set context [list $title] - ad_return_template item-create-thankyou + set return_url item-create-thankyou } } else { # case: administrator returned to index page - ad_returnredirect "" - ad_script_abort + set return_url "" } # news item is live @@ -104,7 +103,7 @@ news_do_notification $package_id $news_id } -ad_returnredirect "" +ad_returnredirect $return_url ad_script_abort # Local variables: