Browse Source

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

pull/6484/head
rabuzarus 2 years ago
parent
commit
eabe192efc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Module/Contact.php

+ 1
- 1
src/Module/Contact.php View 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;
}


Loading…
Cancel
Save