]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
debug output was referencing wrong variable
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 1 Dec 2014 18:19:16 +0000 (19:19 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 1 Dec 2014 18:19:16 +0000 (19:19 +0100)
classes/Notice.php

index 9328a76bb876b54b647c5a367cf1aa9161c2eb02..62f6d1a685a9bf9fca590c01c66ee88d3c3a4fa2 100644 (file)
@@ -608,7 +608,7 @@ class Notice extends Managed_DataObject
             if (empty($notice->conversation) and !empty($options['conversation'])) {
                 $conv = Conversation::getKV('uri', $options['conversation']);
                 if ($conv instanceof Conversation) {
-                    common_debug('Conversation stitched together from (probably) reply to unknown remote user. Activity creation time ('.$activity->time.') should maybe be compared to conversation creation time ('.$conv->created.').');
+                    common_debug('Conversation stitched together from (probably) reply to unknown remote user. Activity creation time ('.$notice->created.') should maybe be compared to conversation creation time ('.$conv->created.').');
                     $notice->conversation = $conv->id;
                 } else {
                     // Conversation URI was not found, so we must create it. But we can't create it