Home » Database » DB_QueryTool » Bug #1038
joins don't work becaus second array_merge parameter line 1451
Details
| Submitted | 2004-03-19 16:12 UTC |
|---|---|
| From | joni at xingoo dot info |
| Assigned | quipo |
| Status | Closed |
| Package | DB_QueryTool |
| PHP Version | 5.0.0b4 (beta4) |
| OS | debian woody php5rc1 |
| Roadmaps | (Not assigned) |
Comments
[2004-03-19 16:12 UTC] joni at xingoo dot info
Description:
------------
i always get erros if i perform setJoin. problem is line 1451 of Query.php.
array_merge($this->getJoin('tables'),$this->table)
$this->table isn't a array, or may it's not. if $this->table can be an array replace it with:
array_merge($this->getJoin('tables'),is_array($this->table) ? $this->table : array($this->table))
if $this->table isn't a array, this code will wirk:
array_merge($this->getJoin('tables'),array($this->table))
maybe someone can fix ist?