Issue Bug Closed

#25311generating the target for imagelinkwrap fails

Anonymous 03/11/11, 16:30 updated 05/26/11, 22:13

Description

in the file for rendering the imagelinkwrap there seems to be a typo when generating the target-attribute for the link tag. atm $target is only being processed when it’s not containing an actual value. it’s supposed to be the other way round I guess.

oh, right, this causes trouble when trying to validate the page the imagelinkwrap is located on.

class.tslib_content.php:
1464 if(!$target) {
1465 $target = sprintf(’ target=”%s”’, $target);
1466 } else {
1467 $target = ‘ target=“thePicture”’;
1468 }

(issue imported from #M17931)

Reviews 2