08 Sep 2010
Back to Homepage
Support Center Home
Tiki Wiki: Notice: Only variable references should be returned by reference
Solution
You can find the latest version of ADODB
here
.
To modify the function to not return a reference use the following code in your adodb.inc.php file:
/**
* Fetch a row, returning false if no more rows.
* This is PEAR DB compat mode.
*
* @return false or array containing the current record
*/
- function &FetchRow()
+ function FetchRow()
{
if ($this->EOF) {
$false = false;
return $false;
}
$arr = $this->fields;
$this->_currentRow++;
if (!$this->_fetch()) $this->EOF = true;
return $arr;
}
Article Details
Article ID:
203
Created On:
16 Aug 2005 01:15 AM
User Comments
Add a Comment
If you would like to comment on this entry, please use the form below. Comments may be queued for moderation, and will not be published until approved.
Image Verification Required
Please enter the characters that appear to the right in the space provided. This is just to verify that you are a human.
Fullname:
Email: (Optional)
Comments:
Back
Login
Username:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Article Options
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Submit a Ticket
|
Knowledgebase
|
News
|
Downloads
Language:
English (U.S.)
All pages Copyright to 2002-2010 by Flux Services, Inc. All rights reserved.
All trademarks used are properties of their respective owners.