action.php
changeset 3 88d936428bed
parent 1 347546fd9315
child 5 11ccac7668ec
equal deleted inserted replaced
2:7e2f87288501 3:88d936428bed
    44         if($event->data != 'plugin_datapopup') return;    
    44         if($event->data != 'plugin_datapopup') return;    
    45         global $auth;
    45         global $auth;
    46         global $INPUT;
    46         global $INPUT;
    47 
    47 
    48         $link = $INPUT->str('link');
    48         $link = $INPUT->str('link');
       
    49         $link = preg_replace('/\?.*/', '', $link);
    49         
    50         
    50         $fields = explode(',',$this->getConf('fields'));
    51         $fields = explode(',',$this->getConf('fields'));
    51         $fields = array_map('trim',$fields);
    52         $fields = array_map('trim',$fields);
    52         $fields = array_filter($fields);
    53         $fields = array_filter($fields);
    53 
    54