Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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