fixes to thing profile assignments

This commit is contained in:
friendica
2014-02-11 16:56:39 -08:00
parent 9498ed17ab
commit b5728fa42e
5 changed files with 9 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ function connedit_post(&$a) {
call_hooks('contact_edit_post', $_POST);
$profile_id = $_POST['profile-assign'];
$profile_id = $_POST['profile_assign'];
if($profile_id) {
$r = q("SELECT profile_guid FROM profile WHERE profile_guid = '%s' AND `uid` = %d LIMIT 1",
dbesc($profile_id),