Sonar fixes.
This commit is contained in:
parent
3666f491bd
commit
5db46c220c
5 changed files with 13 additions and 6 deletions
|
@ -97,8 +97,12 @@ class Mix
|
|||
if ($this->loadDJs) {
|
||||
require_once 'DJ.php';
|
||||
$this->djs[] = new DJ($mix['dj1'], $this->db);
|
||||
if ($mix['dj2'] != null) $this->djs[] = new DJ($mix['dj2'], $this->db);
|
||||
if ($mix['dj3'] != null) $this->djs[] = new DJ($mix['dj3'], $this->db);
|
||||
if ($mix['dj2'] != null) {
|
||||
$this->djs[] = new DJ($mix['dj2'], $this->db);
|
||||
}
|
||||
if ($mix['dj3'] != null) {
|
||||
$this->djs[] = new DJ($mix['dj3'], $this->db);
|
||||
}
|
||||
|
||||
$this->djs = array_filter($this->djs);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue