Show
Ignore:
Timestamp:
08/06/08 23:31:50 (5 months ago)
Author:
082net
Message:

## ajaxcontact ##

Fixed syntax error

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ajaxcontact/trunk/ajaxcontact.php

    r401 r402  
    6262                $op = array_merge($this->default_option(), (array)$op); 
    6363                $need_strip = array('email', 'subject', 'success', 'failure', 'spam'); 
    64                 foreach($this->op as $k => $v) { 
     64                foreach($op as $k => $v) { 
    6565                        if(in_array($k, $need_strip)) 
    66                                 $this->op[$k] = stripslashes($this->op[$k]); 
     66                                $op[$k] = stripslashes($op[$k]); 
    6767                } 
    6868                return $op;