]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
Bugfixing PConfig
[friendica.git] / src / Module / Contact.php
index 8beffb483c17a69d3619047eb6b684a6b95b2b13..230ad4b57bd008938c0a273846609c734424a4c8 100644 (file)
@@ -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;
                        }