Browse Source

Fix SQL error

pull/5023/head
Michael 3 years ago
parent
commit
3d2bc7700e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Model/GContact.php

+ 1
- 1
src/Model/GContact.php View File

@ -239,7 +239,7 @@ class GContact
if ($alternate && ($gcontact['network'] == NETWORK_OSTATUS)) {
// Delete the old entry - if it exists
if (dba::exists('item', ['nurl' => normalise_link($orig_profile)])) {
if (dba::exists('gcontact', ['nurl' => normalise_link($orig_profile)])) {
dba::delete('gcontact', ['nurl' => normalise_link($orig_profile)]);
}
}


Loading…
Cancel
Save