]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialVideo/actions/postvideo.php
integrated privacy toselector into video plugin. there is a display issue to fix...
[quix0rs-gnu-social.git] / plugins / GNUsocialVideo / actions / postvideo.php
index db27ecd8e4a0ac9cf870168c18c955146d9746dd..c0b78447c1d11330395c0c0fc1c4cde06cd8a318 100644 (file)
@@ -73,7 +73,11 @@ class PostvideoAction extends Action {
 
         $profile = $this->user->getProfile();
 
-        $vid = Video::saveNew($profile, $this->url, array());
+        $options = array();
+        
+        ToSelector::fillOptions($this, $options);
+
+        $vid = Video::saveNew($profile, $this->url, $options);
 
         common_redirect($vid->uri, 303);
     }