[Phplib-trackers] [ phplib-Bugs-735080 ] Bug in DB_ODBC.inc v7.4-pre2
Brought to you by:
nhruby,
richardarcher
From: SourceForge.net <no...@so...> - 2003-05-09 08:05:40
|
Bugs item #735080, was opened at 2003-05-09 08:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403611&aid=735080&group_id=31885 Category: DB_SQL Group: None Status: Open Resolution: None Priority: 5 Submitted By: Sebastian Wiehe (swiehe) Assigned to: Nobody/Anonymous (nobody) Summary: Bug in DB_ODBC.inc v7.4-pre2 Initial Comment: In the db_odbc database class I've found a failure in the function f(). The Original declaration says: function f($Name) { if (isset($this->Record[$Name])) { return $this->Record[strtolower($Name)]; } return ""; } This results in the missing ability to return array field names. (Found during login procedure). So the corrected version should be (including some kind of error handling feature...). function f($Name) { if (isset($this->Record[strtolower($Name)])) { return $this->Record[strtolower($Name)]; } return "unknown field requested"; } Hope that this helped anybody usind ODBC. It's certainly kind of hidden. Your's Sebastian seb...@qm... www.qmarketing.de ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403611&aid=735080&group_id=31885 |