From: Mikael Nordfeldth Date: Tue, 17 Feb 2015 20:31:35 +0000 (+0100) Subject: forgot primary key column to updateWithKeys in SalmonAction X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9aa59c7f623308647ef69a32784a5964f3b5e374;p=quix0rs-gnu-social.git forgot primary key column to updateWithKeys in SalmonAction --- diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php index 365f2c829c..2954d8038c 100644 --- a/plugins/OStatus/lib/salmonaction.php +++ b/plugins/OStatus/lib/salmonaction.php @@ -249,7 +249,7 @@ class SalmonAction extends Action $orig = clone($oprofile); $oprofile->uri = $e->object_uri; common_debug('URIFIX Updating Ostatus_profile URI for '.$aliased_uri.' to '.$oprofile->uri); - $oprofile->updateWithKeys($orig); + $oprofile->updateWithKeys($orig, 'uri'); // 'uri' is the primary key column unset($orig); $this->oprofile = $oprofile; break; // don't iterate through aliases anymore