]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/repeat.php
Merge branch 'master' into social-master
[quix0rs-gnu-social.git] / actions / repeat.php
index 76104e2bbfaad1b68fa7585359605e241a43403f..501570ebf0f7d6c6e9ba08cdd0760196ec8354b0 100644 (file)
@@ -63,7 +63,7 @@ class RepeatAction extends FormAction
             $this->clientError(_('Notice not found.'));
         }
 
-        $this->repeat = $this->notice->repeat($this->scoped->id, 'web');
+        $this->repeat = $this->notice->repeat($this->scoped, 'web');
         if (!$this->repeat instanceof Notice) {
             // TRANS: Error when unable to repeat a notice for unknown reason.
             $this->clientError(_('Could not repeat notice for unknown reason. Please contact the webmaster!'));