2007-12-26 Oliver Hader <oh@inpublica.de>
* (minor) Fixed bug #6651: IRRE - Button for creating new records disappeared on nested child records if a parent record reached the maxitems value
+ * (tweak) Fixed bug #7038: EM - sql_free_result() on non-resources fails
2007-12-21 Oliver Hader <oh@inpublica.de>
$res = $GLOBALS['TYPO3_DB']->admin_query($string);
if ($res === false) {
$result[$key] = $GLOBALS['TYPO3_DB']->sql_error();
- } else {
+ } elseif (is_resource($res)) {
$GLOBALS['TYPO3_DB']->sql_free_result($res);
}
}