diff options
Diffstat (limited to 'mod/tasks.php')
-rw-r--r-- | mod/tasks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/tasks.php b/mod/tasks.php index b1b81473b..e11166f93 100644 --- a/mod/tasks.php +++ b/mod/tasks.php @@ -37,7 +37,7 @@ function tasks_post(&$a) { if(! local_channel()) return; - $channel = $a->get_channel(); + $channel = App::get_channel(); if((argc() > 2) && (argv(1) === 'complete') && intval(argv(2))) { $ret = array('success' => false); |