]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixup bad class constant in Notice
authorEvan Prodromou <evan@status.net>
Mon, 19 Sep 2011 20:11:43 +0000 (16:11 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 19 Sep 2011 20:11:43 +0000 (16:11 -0400)
classes/Notice.php

index ce6464c1579ac48e09703e91185788fc8a3d6b93..adcc25973c5a093b8a24462f0d61bd97181a4945 100644 (file)
@@ -507,7 +507,7 @@ class Notice extends Managed_DataObject
         if (empty($verb)) {
             if (!empty($notice->repeat_of)) {
                 $notice->verb        = ActivityVerb::SHARE;
-                $notice->object_type = ActivityVerb::ACTIVITY;
+                $notice->object_type = ActivityObject::ACTIVITY;
             } else {
                 $notice->verb        = ActivityVerb::POST;
             }