Issue Bug Closed

#21037Warning shows up in list mode when listing records

Alban Cousinie 09/11/09, 16:58 updated 08/06/10, 13:29

Description

In list mode, when listing records in right frame, often the following PHP warning shown up and prevents accessing the top buttons of the content frame :
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/agam.org/httpdocs/typo3_src-4.2.6/t3lib/class.t3lib_db.php on line 823

This is due to the fact the $res value is not tested for validity in the function and it raises an error. I have attached a patch to this bug record which adds the validity test for $res and skips the operation raising the warning if $res is null.

(issue imported from #M11929)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.