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.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/view/contact_selectors.php b/view/contact_selectors.php
index 7c7abfc7c..ac1e38e4f 100644
--- a/view/contact_selectors.php
+++ b/view/contact_selectors.php
@@ -1,10 +1,13 @@
<?php
-function contact_profile_assign($current) {
+function contact_profile_assign($current,$foreign_net) {
$o = '';
- $o .= "<select id=\"contact-profile-selector\" name=\"profile-assign\" />\r\n";
+
+ $disabled = (($foreign_net) ? ' disabled="true" ' : '');
+
+ $o .= "<select id=\"contact-profile-selector\" $disabled name=\"profile-assign\" />\r\n";
$r = q("SELECT `id`, `profile-name` FROM `profile` WHERE `uid` = %d",
intval($_SESSION['uid']));