forgot primary key column to updateWithKeys in SalmonAction

This commit is contained in:
Mikael Nordfeldth 2015-02-17 21:31:35 +01:00
parent 7ba7f43199
commit 9aa59c7f62

View File

@ -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