forgot primary key column to updateWithKeys in SalmonAction
This commit is contained in:
parent
7ba7f43199
commit
9aa59c7f62
|
@ -249,7 +249,7 @@ class SalmonAction extends Action
|
||||||
$orig = clone($oprofile);
|
$orig = clone($oprofile);
|
||||||
$oprofile->uri = $e->object_uri;
|
$oprofile->uri = $e->object_uri;
|
||||||
common_debug('URIFIX Updating Ostatus_profile URI for '.$aliased_uri.' to '.$oprofile->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);
|
unset($orig);
|
||||||
$this->oprofile = $oprofile;
|
$this->oprofile = $oprofile;
|
||||||
break; // don't iterate through aliases anymore
|
break; // don't iterate through aliases anymore
|
||||||
|
|
Loading…
Reference in New Issue
Block a user