aboutsummaryrefslogtreecommitdiffstats
path: root/view/contact_selectors.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/contact_selectors.php')
-rw-r--r--view/contact_selectors.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/contact_selectors.php b/view/contact_selectors.php
index 186a50e7a..a7d3d0f5b 100644
--- a/view/contact_selectors.php
+++ b/view/contact_selectors.php
@@ -1,12 +1,12 @@
<?php
-function select_contact_profile($current) {
+function contact_profile_assign($current) {
$o = '';
- $o .= "<select id=\"contact_profile_selector\" name=\"profile_id\" />";
+ $o .= "<select id=\"contact_profile_selector\" name=\"profile_assign\" />";
- $r = q("SELECT `id` FROM `profile` WHERE `uid` = %d",
+ $r = q("SELECT `profile-name` FROM `profile` WHERE `uid` = %d",
intval($_SESSION['uid']));
if(count($r)) {