aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_selectors.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-27 01:22:08 -0700
committerfriendica <info@friendica.com>2012-08-27 01:22:08 -0700
commit8c3c3d5fd7acc5df0aec9c10f8bdd89bedd2060a (patch)
tree4460c2cd50449448f25be78d543df9333ac1fe07 /include/contact_selectors.php
parent5ff6e9348b41bc87b03bafc4d9df73b383af074e (diff)
downloadvolse-hubzilla-8c3c3d5fd7acc5df0aec9c10f8bdd89bedd2060a.tar.gz
volse-hubzilla-8c3c3d5fd7acc5df0aec9c10f8bdd89bedd2060a.tar.bz2
volse-hubzilla-8c3c3d5fd7acc5df0aec9c10f8bdd89bedd2060a.zip
stuff
Diffstat (limited to 'include/contact_selectors.php')
-rw-r--r--include/contact_selectors.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/contact_selectors.php b/include/contact_selectors.php
index 4b3ca987a..76d005305 100644
--- a/include/contact_selectors.php
+++ b/include/contact_selectors.php
@@ -9,13 +9,13 @@ function contact_profile_assign($current,$foreign_net) {
$o .= "<select id=\"contact-profile-selector\" $disabled name=\"profile-assign\" />\r\n";
- $r = q("SELECT `id`, `profile-name` FROM `profile` WHERE `uid` = %d",
+ $r = q("SELECT `id`, `profile_name` FROM `profile` WHERE `uid` = %d",
intval($_SESSION['uid']));
if(count($r)) {
foreach($r as $rr) {
$selected = (($rr['id'] == $current) ? " selected=\"selected\" " : "");
- $o .= "<option value=\"{$rr['id']}\" $selected >{$rr['profile-name']}</option>\r\n";
+ $o .= "<option value=\"{$rr['id']}\" $selected >{$rr['profile_name']}</option>\r\n";
}
}
$o .= "</select>\r\n";