Changeset 722 for trunk/lib/FormValidator.inc.php
- Timestamp:
- May 3, 2020 9:58:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FormValidator.inc.php
r685 r722 67 67 'notice' => ' sc-msg-notice ', 68 68 'success' => ' sc-msg-success ', 69 'use_raise_msg' => false, 69 70 ); 70 71 … … 151 152 public function addError($form_name, $msg='', $type=MSG_ERR, $file=null, $line=null) 152 153 { 154 $app =& App::getInstance(); 155 156 if (true === $this->getParam('use_raise_msg')) { 157 $app->raiseMsg($msg, $type, $file, $line); 158 } 159 153 160 $this->errors[] = array( 154 161 'name' => $form_name,
Note: See TracChangeset
for help on using the changeset viewer.