fix: HTMLArea crashing page if Rich Editor could not be loaded

This commit is contained in:
Doug Bell 2007-05-16 16:55:28 +00:00
parent ee9908768d
commit 24faa80c1b
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,8 @@
http://www.plainblack.com/bugs/tracker/getlineage-joinclass-expects-string-not-array-ref#wzbxkyWPuzsCRBr3x9QImA
- fix: "Rejected" messages in CS mail
- fix: AOIHits and AOIRank not working (Yung Han Khoe / United Knowledge)
- fix: HTMLArea form control crashing page if the specified Rich Editor could
not be loaded.
7.3.17

View file

@ -132,7 +132,7 @@ sub toHtml {
$self->set("resizeable", 0);
return $self->SUPER::toHtml.$richEdit->getRichEditor($self->get('id'));
} else {
WebGUI::ErrorHandler::warn($i18n->get('rich editor load error','Form_HTMLArea'));
$self->session->errorHandler->warn($i18n->get('rich editor load error','Form_HTMLArea'));
return $self->SUPER::toHtml;
}