From 70428b2b5d72bb898440bd5ac4939551304f9038 Mon Sep 17 00:00:00 2001 From: jgen Date: Thu, 3 Oct 2013 21:19:19 -0400 Subject: [PATCH] Its better to pass to the right function. (Side note, this is why you always test your code) --- core/imageboard.pack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 04c79164..eed9b604 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -563,7 +563,7 @@ class Image { $tmpl = str_replace('$filesize', to_shorthand_int($this->filesize), $tmpl); $tmpl = str_replace('$filename', $_escape($base_fname), $tmpl); $tmpl = str_replace('$title', $_escape($config->get_string("title")), $tmpl); - $tmpl = str_replace('$date', $_escape(autodate($this->posted), false), $tmpl); + $tmpl = str_replace('$date', $_escape(autodate($this->posted, false)), $tmpl); // nothing seems to use this, sending the event out to 50 exts is a lot of overhead if(!SPEED_HAX) {