Version 4.3.6
This commit is contained in:
1 parent
fe1acf984a
commit
1a0c7fd3c2
609 files changed
+14707
-5726
No files matched your search
@@ -216,7 +216,15 @@ class _Database extends \IPS\Helpers\Chart\Dynamic
|
||||
}
|
||||
|
||||
$table = new \IPS\Helpers\Table\Db( $this->table, $this->url, $where );
|
||||
$table->joins = $this->joins;
|
||||
|
||||
/* Reformat chart join for the table helper */
|
||||
if( \is_array( $this->joins ) )
|
||||
{
|
||||
array_walk( $this->joins, function ( $item ) use ( $table )
|
||||
{
|
||||
$table->joins[] = array('from' => $item[0], 'where' => $item[1], 'type' => isset( $item[2] ) ? $item[2] : 'LEFT');
|
||||
} );
|
||||
}
|
||||
|
||||
if( count( $this->tableInclude ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user