Skip to content

Commit

Permalink
Fix retrieving individual tasks via WebDAV.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Aug 29, 2014
1 parent 68f928d commit 033610a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nag/lib/Api.php
Expand Up @@ -418,7 +418,7 @@ public function browse($path = '', $properties = array())
$storage = $GLOBALS['injector']->getInstance('Nag_Factory_Driver')->create($parts[1]);
$storage->retrieve();
try {
$storage->get($parts[2]);
$task = $storage->get($parts[2]);
} catch (Nag_Exception $e) {
throw new Nag_Exception($e->getMessage(), 500);
}
Expand Down

0 comments on commit 033610a

Please sign in to comment.