Created
July 7, 2015 20:43
-
-
Save joebordes/d793efdb9ceb5be3505f to your computer and use it in GitHub Desktop.
coreBOS issue 56 patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/Reports/ReportRun.php b/modules/Reports/ReportRun.php | |
index ecea02e..a0c4220 100755 | |
--- a/modules/Reports/ReportRun.php | |
+++ b/modules/Reports/ReportRun.php | |
@@ -845,7 +845,11 @@ class ReportRun extends CRMEntity { | |
$tableColumnSql = "CAST((CONCAT(due_date,' ',time_end)) AS DATETIME)"; | |
} | |
} else { | |
- $tableColumnSql = $selectedfields[0].".".$selectedfields[1]; | |
+ if ($moduleName==$this->primarymodule) { | |
+ $tableColumnSql = $selectedfields[0].".".$selectedfields[1]; | |
+ } else { | |
+ $tableColumnSql = $selectedfields[0].$moduleName.".".$selectedfields[1]; | |
+ } | |
} | |
$startDateTime = "'$startDateTime'"; | |
$endDateTime = "'$endDateTime'"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment