]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/disfavor.php
Merge branch '0.8.x' into small-fixes
[quix0rs-gnu-social.git] / actions / disfavor.php
index 740f7de9333707458259037dc25aba62b883b04d..02e01d6e006bd3747beca0bfdfb694fd530309d0 100644 (file)
@@ -75,7 +75,7 @@ class DisfavorAction extends Action
             return;
         }
         $fave            = new Fave();
-        $fave->user_id   = $this->id;
+        $fave->user_id   = $user->id;
         $fave->notice_id = $notice->id;
         if (!$fave->find(true)) {
             $this->clientError(_('This notice is not a favorite!'));