Index: openacs-4/packages/invoices/www/offer-accepted.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/offer-accepted.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/invoices/www/offer-accepted.tcl 7 Apr 2006 13:46:37 -0000 1.2 +++ openacs-4/packages/invoices/www/offer-accepted.tcl 4 Jul 2006 10:26:38 -0000 1.3 @@ -1,10 +1,14 @@ ad_page_contract { Accepts offer by customer } { - offer_id:integer,notnull - x:notnull + {offer_id:integer ""} + {x ""} } +if {$offer_id eq "" || $x eq ""} { + ad_return_complaint 1 [_ invoices.lt_empty_offer_id] +} + # Retrieving the value of the parameter to know wich include to call set template_src [parameter::get -parameter "OfferAccept"]