From: rabuzarus <rabuzarus@t-online.de>
Date: Mon, 21 Jan 2019 20:13:13 +0000 (+0100)
Subject: bugfix Contact.php - there is no column 'deleted' in the 'profile' table
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eabe192efcd788cb85c3a51db1a792a26e64c6a8;p=friendica.git

bugfix Contact.php - there is no column 'deleted' in the 'profile' table
---

diff --git a/src/Module/Contact.php b/src/Module/Contact.php
index 8beffb483c..59f2627e33 100644
--- a/src/Module/Contact.php
+++ b/src/Module/Contact.php
@@ -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;
 			}