]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix a glitch on AtomPub posting for micro-apps -- hook wasn't returning the new notic...
authorBrion Vibber <brion@pobox.com>
Tue, 26 Jul 2011 19:19:33 +0000 (12:19 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 26 Jul 2011 19:19:33 +0000 (12:19 -0700)
lib/microappplugin.php

index 542e973ddc4d5081f90a6f804f4fcf4f94aa6d87..a723ecde420f805e0ace47e0ecf6244ddbe324d2 100644 (file)
@@ -447,9 +447,9 @@ abstract class MicroAppPlugin extends Plugin
             $options = array('source' => 'atompub');
 
             // $user->getProfile() is a Profile
-            $this->saveNoticeFromActivity($activity,
-                                          $user->getProfile(),
-                                          $options);
+            $notice = $this->saveNoticeFromActivity($activity,
+                                                    $user->getProfile(),
+                                                    $options);
 
             return false;
         }