fist draft

This commit is contained in:
DavidBadura
2015-07-07 23:17:00 +00:00
parent 855cfad124
commit 44d518e95a
7 changed files with 260 additions and 1 deletions

View File

@@ -309,6 +309,14 @@ class Taskwarrior
}
}
if (array_key_exists('depends', $params)) {
if (is_array($params['depends'])) {
$options[] = 'depends:' . implode(',', $params['depends']);
} else {
$options[] = 'depends:' . $params['depends'];
}
}
if (array_key_exists('status', $params)) {
$options[] = 'status:' . $params['status'];
}