index 5b36ec8601f7c9b2b7ab5cca2610f82f7cf5c55d..a3ed1dfd62bf8f9b7bd829e6eac6af8f7fe11e53 100644 (file)
}
}
- $used_tasks = $this->parent->getUsedFAItask();
+ $used_tasks = $this->parent->getUsedFAItask($this->cn);
$tasks = $this->tasks;
foreach($this->tasks as $id => $task){
if(in_array($task,$used_tasks)){
*/
foreach($this->attributes as $attrs){
if(get_magic_quotes_gpc()){
- $smarty->assign($attrs,stripslashes($this->$attrs));
+ $smarty->assign($attrs,htmlentities(stripslashes($this->$attrs)));
}else{
- $smarty->assign($attrs,($this->$attrs));
+ $smarty->assign($attrs,htmlentities($this->$attrs));
}
}