From eabe192efcd788cb85c3a51db1a792a26e64c6a8 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Mon, 21 Jan 2019 21:13:13 +0100 Subject: [PATCH] bugfix Contact.php - there is no column 'deleted' in the 'profile' table --- src/Module/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }