summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-12 18:12:49 +0200
committerSimon Rettberg2014-06-12 18:12:49 +0200
commit3d9a84371b4c07c0b98914801be8afd7d2417505 (patch)
treed1815dbd5e6f725c1bd4f668cbddbdffb494d5bb /inc
parent[minilinux] Add feature to update all components at once (diff)
downloadslx-admin-3d9a84371b4c07c0b98914801be8afd7d2417505.tar.gz
slx-admin-3d9a84371b4c07c0b98914801be8afd7d2417505.tar.xz
slx-admin-3d9a84371b4c07c0b98914801be8afd7d2417505.zip
Fix automatic error messages when Taskmanager::submit fails
Diffstat (limited to 'inc')
-rw-r--r--inc/taskmanager.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/taskmanager.inc.php b/inc/taskmanager.inc.php
index 1bbdb7a5..3862ac72 100644
--- a/inc/taskmanager.inc.php
+++ b/inc/taskmanager.inc.php
@@ -38,7 +38,7 @@ class Taskmanager
$reply = self::readReply($seq);
if ($reply === false || !is_array($reply) || !isset($reply['id'])
|| (isset($reply['statusCode']) && $reply['statusCode'] === NO_SUCH_TASK)) {
- self::addErrorMessage(false);
+ self::addErrorMessage($reply);
return false;
}
return $reply;