mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUG Adjust Session::setFormMessage to fit with underlying API.
This commit is contained in:
parent
ba825cec28
commit
d52d5f71c5
@ -440,8 +440,8 @@ class Session {
|
||||
* @param type the type of message
|
||||
*/
|
||||
public static function setFormMessage($formname,$message,$type){
|
||||
Session::set("FormInfo.$formname.message", $message);
|
||||
Session::set("FormInfo.$formname.type", $type);
|
||||
Session::set("FormInfo.$formname.formError.message", $message);
|
||||
Session::set("FormInfo.$formname.formError.type", $type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user