Merge pull request #1177 from mateusz/session-set-form-message

BUG Adjust Session::setFormMessage to fit with underlying API.
This commit is contained in:
Sean Harvey 2013-02-11 15:14:12 -08:00
commit 02d58b1015

View File

@ -440,8 +440,8 @@ class Session {
* @param type the type of message * @param type the type of message
*/ */
public static function setFormMessage($formname,$message,$type){ public static function setFormMessage($formname,$message,$type){
Session::set("FormInfo.$formname.message", $message); Session::set("FormInfo.$formname.formError.message", $message);
Session::set("FormInfo.$formname.type", $type); Session::set("FormInfo.$formname.formError.type", $type);
} }
/** /**