aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-09 22:15:56 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-09 22:15:56 +0000
commit6fbacea7340b0739c23be0a7d073782c64eee78d (patch)
tree46d15a9ef94965d50e26d1f16a973654b138f353 /engine/lib
parent0fc684c3d5f34945224e1ef6d6c38939bbc1eece (diff)
downloadelgg-6fbacea7340b0739c23be0a7d073782c64eee78d.tar.gz
elgg-6fbacea7340b0739c23be0a7d073782c64eee78d.tar.bz2
Fixes #3489 added input/output views for tag and location
git-svn-id: http://code.elgg.org/elgg/trunk@9163 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index a7765a5e5..832bcd529 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1345,7 +1345,7 @@ function elgg_profile_fields_setup() {
$profile_defaults = array (
'description' => 'longtext',
'briefdescription' => 'text',
- 'location' => 'tags',
+ 'location' => 'location',
'interests' => 'tags',
'skills' => 'tags',
'contactemail' => 'email',
@@ -1379,7 +1379,7 @@ function elgg_profile_fields_setup() {
// register any tag metadata names
foreach ($CONFIG->profile_fields as $name => $type) {
- if ($type == 'tags') {
+ if ($type == 'tags' || $type == 'location' || $type == 'tag') {
elgg_register_tag_metadata_name($name);
// register a tag name translation
add_translation(get_current_language(), array("tag_names:$name" => elgg_echo("profile:$name")));