Bug #19785 ยป 00010090.patch

Administrator Admin, 2009-01-10 13:45

View differences:

t3lib/class.t3lib_tcemain.php (Arbeitskopie)
2829 2829
					while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($mres))	{
2830 2830
						$this->copyRecord($table,$row['uid'], $theNewRootID);	// Copying each of the underlying records...
2831 2831
					}
2832
					$GLOBALS['TYPO3_DB']->sql_free_result($mres);
2832 2833
				}
2833 2834
			}
2834 2835
			return $theNewRootID;
......
4170 4171
						$this->deleteVersionsForRecord($table,$row['uid'],$forceHardDelete);
4171 4172
						$this->deleteRecord($table,$row['uid'], TRUE, $forceHardDelete);
4172 4173
					}
4174
					$GLOBALS['TYPO3_DB']->sql_free_result($mres);
4173 4175
				}
4174 4176
			}
4175 4177
			$this->deleteVersionsForRecord('pages',$uid,$forceHardDelete);
......
5515 5517
					return -1;		// No permissions
5516 5518
				}
5517 5519
			}
5520
			$GLOBALS['TYPO3_DB']->sql_free_result($mres);
5518 5521
		}
5519 5522
		return $inList;
5520 5523
	}
......
6096 6099
				} else {die ('Fatal ERROR!! No Uid at resorting.');}
6097 6100
				$i = $i+$intervals;
6098 6101
			}
6102
			$GLOBALS['TYPO3_DB']->sql_free_result($res);
6099 6103
			return $returnVal;
6100 6104
		}
6101 6105
	}
......
6424 6428
					}
6425 6429
				}
6426 6430
			}
6431
			$GLOBALS['TYPO3_DB']->sql_free_result($mres);
6427 6432
		}
6428 6433
		return $CPtable;
6429 6434
	}
......
6964 6969
								while ($row_tmp2 = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res_tmp2))	{
6965 6970
									$list_cache[] = $row_tmp2['uid'];
6966 6971
								}
6972
								$GLOBALS['TYPO3_DB']->sql_free_result($res_tmp2);
6967 6973
							}
6968 6974
						}
6975
						$GLOBALS['TYPO3_DB']->sql_free_result($res_tmp);
6969 6976

  
6970 6977
							// Finally, add the parent page as well:
6971 6978
						$list_cache[] = $pid_tmp;
......
7221 7228
			$log_data = unserialize($row['log_data']);
7222 7229
			$errorJS[] = $row['error'].': '.sprintf($row['details'], $log_data[0],$log_data[1],$log_data[2],$log_data[3],$log_data[4]);
7223 7230
		}
7231
		$GLOBALS['TYPO3_DB']->sql_free_result($res_log);
7224 7232

  
7225 7233
		if (count($errorJS))	{
7226 7234
			$error_doc = t3lib_div::makeInstance('template');
    (1-1/1)