mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merged revisions 52878 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity ........ r52878 | sminnee | 2008-04-16 20:13:41 +1200 (Wed, 16 Apr 2008) | 1 line Show bad error messages in a red style ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53492 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
00a39e6212
commit
5c5c93c412
@ -474,7 +474,7 @@ class Form extends ViewableData {
|
||||
*/
|
||||
function sessionMessage($message, $type) {
|
||||
Session::set("FormInfo.{$this->FormName()}.formError.message", $message);
|
||||
Session::set("'FormInfo.{$this->FormName()}.formError.type", $type);
|
||||
Session::set("FormInfo.{$this->FormName()}.formError.type", $type);
|
||||
}
|
||||
|
||||
static function messageForForm( $formName, $message, $type ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user