]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
forgot primary key column to updateWithKeys in SalmonAction
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 17 Feb 2015 20:31:35 +0000 (21:31 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 17 Feb 2015 20:31:35 +0000 (21:31 +0100)
plugins/OStatus/lib/salmonaction.php

index 365f2c829c9ea2845467f4842c41142998d2a603..2954d8038c9492b00a5db95bdc2abebf92fd08c9 100644 (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