Commit 005d5421 authored by César's avatar César

Added condition

parent bdcf9735
......@@ -609,6 +609,9 @@ class CRM_Reportplus_Form extends CRM_Report_Form {
public function joinAddressFromCustom() {
$tables = $this->selectedTables();
if (isset($tables)) {
if (array_search('civicrm_address', $tables)) {
return;
}
foreach ($tables as $table) {
if (substr($table, 0, 14) === "civicrm_value_") {
$result = civicrm_api3('CustomGroup', 'get', [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment