update recurring

This commit is contained in:
DavidBadura
2015-02-08 13:29:44 +00:00
parent fb3da0face
commit 6d13ee7d3a
5 changed files with 11 additions and 11 deletions

View File

@@ -264,10 +264,10 @@ class TaskManager
*/
private function setValue(Task $task, $attr, $value)
{
$reflectionClass = new \ReflectionClass('DavidBadura\Taskwarrior\Task');
$prop = $reflectionClass->getProperty($attr);
$prop->setAccessible(true);
$prop->setValue($task, $value);
$refClass = new \ReflectionClass('DavidBadura\Taskwarrior\Task');
$refProp = $refClass->getProperty($attr);
$refProp->setAccessible(true);
$refProp->setValue($task, $value);
}
/**