From fe901a306187f2d8679adeb76057353fda74cd29 Mon Sep 17 00:00:00 2001 From: Anthony Nemirovsky Date: Mon, 1 Dec 2014 12:38:10 -0800 Subject: [PATCH] Correctly display the API Entity and Action in the Job Log. The scheduled jobs log was setting the command for every job entry to 0 because of a string concatenation bug. This commit corrects that bug so API Entity and Action is now correctly shown. --- CRM/Core/JobManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/JobManager.php b/CRM/Core/JobManager.php index c1473b41da..fff4aa4570 100644 --- a/CRM/Core/JobManager.php +++ b/CRM/Core/JobManager.php @@ -243,7 +243,7 @@ class CRM_Core_JobManager { if ($this->currentJob) { $dao->job_id = $this->currentJob->id; $dao->name = $this->currentJob->name; - $dao->command = ts("Entity:") . " " + $this->currentJob->api_entity + " " . ts("Action:") . " " + $this->currentJob->api_action; + $dao->command = ts("Entity:") . " " . $this->currentJob->api_entity . " " . ts("Action:") . " " . $this->currentJob->api_action; $data = ""; if (!empty($this->currentJob->parameters)) { $data .= "\n\nParameters raw (from db settings): \n" . $this->currentJob->parameters; -- 2.25.1