Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-29 21:15:24

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,391
Website GitHub Mastodon

taghandlers.php, r1856: article_image() renders invalid HTML tag

article_image fails to ignore articles without assigned images and renders invalid HTML: <img src="" alt="" />.

Modifying lines 2033ff to

	if (isset($thisarticle['article_image']))
{
	$image = $thisarticle['article_image'];
	dmp(isset($thisarticle['article_image']));
}

dumps a constant 1 even for articles with an empty article image field.

Offline

#2 2006-09-30 12:19:26

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: taghandlers.php, r1856: article_image() renders invalid HTML tag

Thanks, Robert. See r1862.

Offline

Board footer

Powered by FluxBB