Actions
Bug #21037
closedWarning shows up in list mode when listing records
Start date:
2009-09-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
No data to display
Actions