Index: openacs-4/packages/new-portal/www/render-element.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/render-element.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/new-portal/www/render-element.tcl 17 Nov 2001 16:02:39 -0000 1.10 +++ openacs-4/packages/new-portal/www/render-element.tcl 29 Nov 2001 02:34:03 -0000 1.11 @@ -13,10 +13,9 @@ # get the complete, evaluated element. # if there's an error, report it. if { [catch {set element_data [portal::evaluate_element $element_id $theme_id] } errmsg ] } { - if { [ad_parameter log_datasource_errors_p] == 1} { - ns_log Error "render-element.tcl (after eval): $errmsg" - } + ns_log Error "aks18 render-element.tcl (after eval): $errmsg" + if { [ad_parameter show_datasource_errors_p] == 1} { set element(content) "
$errmsg
" } else {