Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -N -r1.20 -r1.21 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 1 Mar 2005 00:01:22 -0000 1.20 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 28 Apr 2005 22:38:06 -0000 1.21 @@ -35,11 +35,11 @@ if { [info exists item_id] } { if { ![db_0or1row get_item_info ""] } { - ad_return -code error "There is no content that matches item_id '$item_id'" + error "There is no content that matches item_id '$item_id'" {} NOT_FOUND } } elseif { [info exists revision_id] } { if { ![db_0or1row get_revision_info ""] } { - ad_return -code error "There is no content that matches revision_id '$revision_id'" + error "There is no content that matches revision_id '$revision_id'" {} NOT_FOUND } } else { ad_return -code error "Either revision_id or item_id must be specified"