Home » Authentication » LiveUser_Admin » Bug #5706
wrong return type in /LiveUser/Admin/Storage/SQL.php
Details
| Submitted | 2005-10-17 15:04 UTC |
|---|---|
| From | alpa at aikenweb dot com |
| Assigned | lsmith |
| Status | Closed |
| Package | LiveUser_Admin |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-10-17 15:04 UTC] alpa at aikenweb dot com
Description:
------------
LiveUser_Admin v0.3.5
/LiveUser/Admin/Storage/SQL.php
method _checkExplicitTable (on line 522) return string while in method findTables (on line 546->552) expect array.
posible fix: replace
return $match[1];
with
return $match;
[2005-10-17 16:16 UTC] alpa at aikenweb dot com
Script still not work properly (cvs 1.40).
When doing:
$this->_checkExplicitTable($field, $selectable_tables);
on lines 546, 560, 574 variable $match is string. This expect error when exucuting: $this->prefix.$this->alias[$match[1]].'.'.$match[2].' AS '.$match[2];
because $match[1] and $match[2] are elements of string $match