diff options
author | friendica <info@friendica.com> | 2012-08-30 18:47:07 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-30 18:47:07 -0700 |
commit | 80bd128425b99d91ddca897bc2cd6dcef5268fe4 (patch) | |
tree | 5d45270dbbdfc12674cd79b580a7fd19c7fa4d9c /mod/abook.php | |
parent | 08508c4216ba4750fc0f1c0f521a69b0b91090e0 (diff) | |
download | volse-hubzilla-80bd128425b99d91ddca897bc2cd6dcef5268fe4.tar.gz volse-hubzilla-80bd128425b99d91ddca897bc2cd6dcef5268fe4.tar.bz2 volse-hubzilla-80bd128425b99d91ddca897bc2cd6dcef5268fe4.zip |
more DB cleanup
Diffstat (limited to 'mod/abook.php')
-rw-r--r-- | mod/abook.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/abook.php b/mod/abook.php index 0f69201b0..ee402d394 100644 --- a/mod/abook.php +++ b/mod/abook.php @@ -111,7 +111,7 @@ function abook_post(&$a) { $info = fix_mce_lf(escape_tags(trim($_POST['info']))); - $r = q("UPDATE `contact` SET `profile-id` = %d, `priority` = %d , `info` = '%s', + $r = q("UPDATE `contact` SET `profile_id` = %d, `priority` = %d , `info` = '%s', `hidden` = %d, closeness = %d WHERE `id` = %d AND `uid` = %d LIMIT 1", intval($profile_id), intval($priority), @@ -314,7 +314,7 @@ function abook_content(&$a) { '$updpub' => t('Update public posts'), '$last_update' => $last_update, '$udnow' => t('Update now'), - '$profile_select' => contact_profile_assign($contact['profile-id'],(($contact['network'] !== NETWORK_DFRN) ? true : false)), + '$profile_select' => contact_profile_assign($contact['profile_id'],(($contact['network'] !== NETWORK_DFRN) ? true : false)), '$contact_id' => $contact['id'], '$block_text' => (($contact['blocked']) ? t('Unblock') : t('Block') ), '$ignore_text' => (($contact['readonly']) ? t('Unignore') : t('Ignore') ), |