Commit de5d2eed by Scott

Fix notice when 'age of post' option turned off

parent 3524c62f
......@@ -599,7 +599,7 @@
if (isset($post['lastuserid']) && @$options['whoview'])
$fields['who_2']=qa_who_to_html(isset($userid) && ($post['lastuserid']==$userid), $post['lastuserid'], $usershtml, @$options['ipview'] ? $post['lastip'] : null, false);
}
elseif ($microformats) { // quick fix for incorrect microformats (missing 'updated' class)
elseif ($microformats && @$options['whenview']) { // quick fix for incorrect microformats (missing 'updated' class)
$fields['when']['data'] = str_replace('<span class="published">', '<span class="published updated">', $fields['when']['data']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment