Skip to content

Commit 09435d2

Browse files
committed
fix recent change: don't error out when "util::block_request" is not available
1 parent a00d6b3 commit 09435d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/acs-subsite/www/register/index.tcl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ad_page_contract {
1515
}
1616
}
1717

18-
::util::block_request -condition {[ns_conn pool] eq "bots"} -target bots
18+
catch {::util::block_request -condition {[ns_conn pool] eq "bots"} -target bots}
1919
#
2020
# Avoid page caching, across all browsers, no matter how the other
2121
# site wide caching parameters are set. For discussion and details,

0 commit comments

Comments
 (0)