]> git.mxchange.org Git - friendica.git/commitdiff
bugfix Contact.php - there is no column 'deleted' in the 'profile' table
authorrabuzarus <rabuzarus@t-online.de>
Mon, 21 Jan 2019 20:13:13 +0000 (21:13 +0100)
committerrabuzarus <rabuzarus@t-online.de>
Mon, 21 Jan 2019 20:13:13 +0000 (21:13 +0100)
src/Module/Contact.php

index 8beffb483c17a69d3619047eb6b684a6b95b2b13..59f2627e33032426cbe1f1b84cdbae5e418732eb 100644 (file)
@@ -198,7 +198,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;
                        }