From 927199430f4613b66a797bdfe9752f7bc6e5b249 Mon Sep 17 00:00:00 2001 From: shish Date: Tue, 26 Jun 2007 11:47:30 +0000 Subject: [PATCH] if $tags is an empty array, $tag_array is never created... git-svn-id: file:///home/shish/svn/shimmie2/trunk@163 7f39781d-f577-437e-ae19-be835c7a54ca --- core/util.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/util.inc.php b/core/util.inc.php index 9528599f..88d1c492 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -71,6 +71,7 @@ function tag_explode($tags) { $tags = array_map("trim", $tags); + $tag_array = array(); foreach($tags as $tag) { if(is_string($tag) && strlen($tag) > 0) { $tag_array[] = $tag;