FIX try to fix CodingPhpTest::testPHP error
This commit is contained in:
parent
4efe10a9a5
commit
ca3a4839e5
@ -565,7 +565,7 @@ if (!empty($search_measures) && !empty($search_xaxis)) {
|
||||
$tmpval = explode('.', $val);
|
||||
//var_dump($arrayofxaxis[$val]['table']);
|
||||
if (! in_array($arrayofxaxis[$val]['table'], $listoftablesalreadyadded)) { // We do not add join for main table already added
|
||||
$sql .= ' INNER JOIN '.MAIN_DB_PREFIX.$arrayofxaxis[$val]['table'].' as '.$tmpval[0];
|
||||
$sql .= ' INNER JOIN '.MAIN_DB_PREFIX.$arrayofxaxis[$val]['table'].' as '.$db->escape($tmpval[0]);
|
||||
$listoftablesalreadyadded[$arrayofxaxis[$val]['table']] = $arrayofxaxis[$val]['table'];
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user