Home » Authentication » LiveUser » Bug #1638
Wrong array key in Admin/Auth/Cont../DB
Details
| Submitted | 2004-06-14 23:24 UTC |
|---|---|
| From | worthy at home dot olsztyn dot pl |
| Status | Bogus |
| Package | LiveUser |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-06-14 23:24 UTC] worthy at home dot olsztyn dot pl
Description:
------------
In file LiveUser/Admin/Auth/Container/DB.php (line 205; function addUser)
is wrong table key used. This generates error in DB Query.
Reproduce code:
---------------
$query = '
INSERT INTO
' . $this->authTable . '
(
' . $this->authTableCols['required']['user_id']['name'] . ',
' . $this->authTableCols['required']['handle']['name'] . ',
' . $this->authTableCols['required']['passwd']['name'] . '
' . $col . '
)
VALUES ...
Expected result:
----------------
$query = '
INSERT INTO
' . $this->authTable . '
(
' . $this->authTableCols['required']['auth_user_id']['name'] . ',
' . $this->authTableCols['required']['handle']['name'] . ',
' . $this->authTableCols['required']['passwd']['name'] . '
' . $col . '
)
VALUES ...