diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-05 21:19:07 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-05 21:19:07 -0400 |
commit | b69746ed748ca3eda46e52f80b15defa951fd7c9 (patch) | |
tree | 80706f43cf28a759674a41cfa6afecb375d5042f | |
parent | 13dbb61c599254b6ff59c771fdb69b2641cd1d3d (diff) | |
download | elgg-b69746ed748ca3eda46e52f80b15defa951fd7c9.tar.gz elgg-b69746ed748ca3eda46e52f80b15defa951fd7c9.tar.bz2 |
Fixes #4566 handling array in output/location
-rw-r--r-- | views/default/output/location.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/views/default/output/location.php b/views/default/output/location.php index e3619d2e1..e1009f17d 100644 --- a/views/default/output/location.php +++ b/views/default/output/location.php @@ -11,4 +11,9 @@ if (isset($vars['entity'])) { unset($vars['entity']); } +// Fixes #4566 we used to allow arrays of strings for location +if (is_array($vars['value'])) { + $vars['value'] = implode(', ', $vars['value']); +} + echo elgg_view('output/tag', $vars); |