mirror of
https://github.com/shadoll/sLetter.git
synced 2025-12-21 05:27:02 +00:00
Compare commits
1 Commits
v18.2.13-4
...
v18.2.13-5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6cb972fe73 |
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* @author sHa <sha@shadoll.com>
|
* @author sHa <sha@shadoll.com>
|
||||||
* @package sLetter
|
* @package sLetter
|
||||||
* @version 18.2.13
|
* @version 18.2.13-5
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ class sLetter{
|
|||||||
|
|
||||||
foreach($data as $key=>$val)
|
foreach($data as $key=>$val)
|
||||||
if(!empty($val))
|
if(!empty($val))
|
||||||
$this->fields[$key] = is_string($val)?trim(stripslashes($val)):$val;
|
$this->fields[$key] = is_string($val)?trim(stripslashes(strip_tags($val))):$val;
|
||||||
|
|
||||||
return $return?$this->fields:$this;
|
return $return?$this->fields:$this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user