]> git.mxchange.org Git - friendica.git/blobdiff - view/contact_selectors.php
adding profile fields
[friendica.git] / view / contact_selectors.php
index 186a50e7af4da7b1ca46506e60ba6475445a2960..a7d3d0f5b79b42fe87533e037fd92ad7ed859d4e 100644 (file)
@@ -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)) {