Fix SQL error
This commit is contained in:
parent
4d5408f3b1
commit
3d2bc7700e
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class GContact
|
||||||
|
|
||||||
if ($alternate && ($gcontact['network'] == NETWORK_OSTATUS)) {
|
if ($alternate && ($gcontact['network'] == NETWORK_OSTATUS)) {
|
||||||
// Delete the old entry - if it exists
|
// 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)]);
|
dba::delete('gcontact', ['nurl' => normalise_link($orig_profile)]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue