diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-06-05 20:20:59 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-06-05 20:20:59 -0400 |
commit | 1c78d41f46f71a32cde84841ab03eac13113b20e (patch) | |
tree | f1ec69bd16187063d29b8e204eb8972d919481f2 /mod/blog | |
parent | b5860b972c67be3b398d64e622bfd367b2a9825c (diff) | |
download | elgg-1c78d41f46f71a32cde84841ab03eac13113b20e.tar.gz elgg-1c78d41f46f71a32cde84841ab03eac13113b20e.tar.bz2 |
Fixes #5601 allowing empty tags to pass through to clear previous tags
Diffstat (limited to 'mod/blog')
-rw-r--r-- | mod/blog/actions/blog/save.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/blog/actions/blog/save.php b/mod/blog/actions/blog/save.php index 9256610cc..658f83580 100644 --- a/mod/blog/actions/blog/save.php +++ b/mod/blog/actions/blog/save.php @@ -79,11 +79,7 @@ foreach ($values as $name => $default) { switch ($name) { case 'tags': - if ($value) { - $values[$name] = string_to_tag_array($value); - } else { - unset ($values[$name]); - } + $values[$name] = string_to_tag_array($value); break; case 'excerpt': |