From b25f660d2c90ff6b0350da68981241765fa54a29 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Fri, 4 Jul 2003 22:22:26 +0000 Subject: [PATCH] minor change to apply_filters (spotted by Robert Morrison) git-svn-id: https://develop.svn.wordpress.org/trunk@249 602fd350-edb4-49c9-b593-d223f7449a82 --- b2-include/b2template.functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index 373915604d..fa6c18d9fe 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -1252,7 +1252,7 @@ function apply_filters($tag, $string) { $b2_filter[$tag] = array_unique($b2_filter[$tag]); } if (isset($b2_filter[$tag])) { - $b2_filter[$tags] = (is_string($b2_filter[$tag])) ? array($b2_filter[$tag]) : $b2_filter[$tag]; + $b2_filter[$tag] = (is_string($b2_filter[$tag])) ? array($b2_filter[$tag]) : $b2_filter[$tag]; $functions = $b2_filter[$tag]; foreach($functions as $function) { $string = $function($string);