summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2173ec)
raw | patch | inline | side by side (parent: a2173ec)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 May 2007 13:30:41 +0000 (13:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 May 2007 13:30:41 +0000 (13:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6257 594d385d-05f5-0310-b6e9-bd551577e9d8
include/sieve/class_sieveManagement.inc | patch | blob | history |
index b8edabbc1c03eefd5f5d68bc4dd8eb59f64760ab..72e93211867c49dc082b637816fc148f0a6c9204 100644 (file)
}
return(FALSE);
}
- if(!is_object($this->current_handler) || get_class($this->current_handler) != "My_Parser"){
+
+ if(!is_object($this->current_handler) || !preg_match("/My_Parser/i",get_class($this->current_handler))){
trigger_error("Can't add new element, there is no valid script editor opened.");
return(FALSE);
}