diff --git a/include/bbcode.php b/include/bbcode.php
index 081e4b7c6..e63a8d394 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -267,9 +267,11 @@ function bb_ShareAttributes($match) {
preg_match('/posted="(.*?)"/ism', $attributes, $matches);
if ($matches[1] != "")
$posted = $matches[1];
- $reldate = (($posted) ? " " . relative_date($posted) : '');
- $headline = '