Loading...
 
Skip to main content

Architecture / Installation


Re: Only variable references should be returned by reference in common.php

I fixed a similar bug in my adodb.inc.php

Image
Copy to clipboard
2793 function &FetchRow() 2794 { 2795 if ($this->EOF) { 2796 $false = false; 2797 return $false; 2798 }


new code

Image
Copy to clipboard
2793 function FetchRow()




Of course, when necessary, you may have to change some more code here or there. In the case above I know enough php to see it will work, in your case i would try and see. The thing "by reference" has to do with the &, that's how far i can tell.