Index: openacs-4/packages/acs-subsite/www/pvt/set-on-vacation-to-null.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/pvt/set-on-vacation-to-null.tcl,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/acs-subsite/www/pvt/set-on-vacation-to-null.tcl 31 Jan 2018 20:47:21 -0000 1.5 +++ openacs-4/packages/acs-subsite/www/pvt/set-on-vacation-to-null.tcl 22 May 2018 15:11:19 -0000 1.6 @@ -11,17 +11,10 @@ set user_id [ad_conn user_id] -set no_alerts_until [db_string no_alerts_until { - select no_alerts_until from users where user_id = :user_id -} -default ""] - -if { $no_alerts_until ne "" } { - set clear [db_null] - db_dml pvt_unset_no_alerts_until { - update users - set no_alerts_until = :clear - where user_id = :user_id - } +db_dml pvt_unset_no_alerts_until { + update users + set no_alerts_until = null + where user_id = :user_id } set site_link [ad_site_home_link]