Project

General

Profile

Bug #21745 » typo3core_bugfix_12845_trunk_v2.patch

Administrator Admin, 2010-03-12 16:16

View differences:

t3lib/class.t3lib_parsehtml_proc.php (copie de travail)
$info['url']=$info['relUrl'];
$info['type']='anchor';
} elseif (!trim($uP['path']) || !strcmp($uP['path'],'index.php')) {
$pp = explode('id=',$uP['query']);
// URL is a page (id parameter)
$pp = preg_split('/^id=/', $uP['query']);
$pp[1] = preg_replace( '/&id=[^&]*/', '', $pp[1]);
$parameters = explode('&', $pp[1]);
$id = array_shift($parameters);
if ($id) {
typo3/class.browse_links.php (copie de travail)
} else { // URL is a page (id parameter)
$uP=parse_url($rel);
if (!trim($uP['path'])) {
$pp = explode('id=',$uP['query']);
$pp = preg_split('/^id=/', $uP['query']);
$pp[1] = preg_replace( '/&id=[^&]*/', '', $pp[1]);
$parameters = explode('&', $pp[1]);
$id = array_shift($parameters);
if ($id) {
(1-1/2)