summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorBjörn Geiger2011-07-27 10:46:19 +0200
committerBjörn Geiger2011-07-27 10:46:19 +0200
commitb239ec9f2a3dbaf0b28faf27abc84f43a46c3a7b (patch)
tree83b58867fdc3cbf8d8a9b9dc012644dfeea01692 /application
parentsomePingWorker korrigiert (diff)
downloadpoolctrl-b239ec9f2a3dbaf0b28faf27abc84f43a46c3a7b.tar.gz
poolctrl-b239ec9f2a3dbaf0b28faf27abc84f43a46c3a7b.tar.xz
poolctrl-b239ec9f2a3dbaf0b28faf27abc84f43a46c3a7b.zip
SomePingWorker korrigiert
Diffstat (limited to 'application')
-rw-r--r--application/controllers/GearmanController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/GearmanController.php b/application/controllers/GearmanController.php
index 66e7bed..5b842b1 100644
--- a/application/controllers/GearmanController.php
+++ b/application/controllers/GearmanController.php
@@ -70,6 +70,7 @@ class GearmanController extends Zend_Controller_Action
foreach($resultsExp as $result) {
$resultDecode = json_decode($result);
$resultDecode->rawoutput = sprintf('%s', $resultDecode->rawoutput);
+ $resultDecode->rawoutput = str_replace("\n", "<br />\t", $resultDecode->rawoutput);
$resultDecode->alive = sprintf('%s', $resultDecode->alive);
$resultDecode->rc = sprintf('%s', $resultDecode->rc);
$results[] = $resultDecode;