Changeset 402 for ajaxcontact/trunk/ajaxcontact.php
- Timestamp:
- 08/06/08 23:31:50 (5 months ago)
- Files:
-
- 1 modified
-
ajaxcontact/trunk/ajaxcontact.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ajaxcontact/trunk/ajaxcontact.php
r401 r402 62 62 $op = array_merge($this->default_option(), (array)$op); 63 63 $need_strip = array('email', 'subject', 'success', 'failure', 'spam'); 64 foreach($ this->op as $k => $v) {64 foreach($op as $k => $v) { 65 65 if(in_array($k, $need_strip)) 66 $ this->op[$k] = stripslashes($this->op[$k]);66 $op[$k] = stripslashes($op[$k]); 67 67 } 68 68 return $op;
