Skip to content
Snippets Groups Projects
Commit 62308695 authored by Prasad's avatar Prasad
Browse files

Fixed dynamic fn resolution using variable

parent 14e88e6c
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,8 @@ class iCalendar_component {
}
$this->add_property($key,$component);
} else if(!empty($components['function'])){
$this->$components['function']($activity);
$fn = $components['function'];
$this->$fn($activity);
}
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment