projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f45d21
)
Check for errors
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 11 Apr 2010 15:20:43 +0000
(11:20 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 11 Apr 2010 15:20:43 +0000
(11:20 -0400)
nag/lib/Driver.php
patch
|
blob
|
history
diff --git
a/nag/lib/Driver.php
b/nag/lib/Driver.php
index
15ea959
..
30f1b85
100644
(file)
--- a/
nag/lib/Driver.php
+++ b/
nag/lib/Driver.php
@@
-405,6
+405,9
@@
class Nag_Driver
{
/* Get the task's details for use later. */
$task = $this->get($taskId);
+ if ($task instanceof PEAR_Error) {
+ return $task;
+ }
$delete = $this->_delete($taskId);
if (is_a($delete, 'PEAR_Error')) {