diff --git a/include/sieve/class_sieveElement_Fileinto.inc b/include/sieve/class_sieveElement_Fileinto.inc
index e595250aa581d54d773a9f7391e7bdfd429fd396..16b8c26d735d4b240ca1fc7ad098e63876f90c32 100644 (file)
function sieve_fileinto($data,$object_id)
{
$this->object_id = $object_id;
+
+ if($data == NULL){
+ $data = array('ELEMENTS' => array(array('class' => "quoted-string" ,"text" => _(""))));
+ }
+
foreach($data['ELEMENTS'] as $node ){
if(in_array($node['class'],array("quoted-string","text"))){
$this->data[] = preg_replace("/\"/","",$node['text']);
return($str);
}
+ function check()
+ {
+ return(array());
+ }
+
function get_mail_boxes()
{
return(array("not"=>"not","impplemented/yet"=>"impplemented/yet"));