X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FContact.php;h=230ad4b57bd008938c0a273846609c734424a4c8;hb=f3da5b3a2f98883e4a06c345dfe2880394f7d21d;hp=8beffb483c17a69d3619047eb6b684a6b95b2b13;hpb=4a95ca280d665eda09529f91eb28b517a471e683;p=friendica.git diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 8beffb483c..230ad4b57b 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -8,7 +8,6 @@ use Friendica\Content\ContactSelector; use Friendica\Content\Nav; use Friendica\Content\Pager; use Friendica\Content\Text\BBCode; -use Friendica\Content\Text\HTML; use Friendica\Content\Widget; use Friendica\Core\ACL; use Friendica\Core\Hook; @@ -198,7 +197,7 @@ class Contact extends BaseModule $profile_id = intval(defaults($_POST, 'profile-assign', 0)); if ($profile_id) { - if (!DBA::exists('profile', ['id' => $profile_id, 'uid' => local_user(), 'deleted' => false])) { + if (!DBA::exists('profile', ['id' => $profile_id, 'uid' => local_user()])) { notice(L10n::t('Could not locate selected profile.') . EOL); return; }