mirror of
https://github.com/openvk/openvk
synced 2025-07-07 00:09:48 +03:00
make video not unlisted after editing
This commit is contained in:
parent
3faab6f9e9
commit
40b6b2715a
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ final class VideosPresenter extends OpenVKPresenter
|
|||
if ($_SERVER["REQUEST_METHOD"] === "POST") {
|
||||
$video->setName(empty($this->postParam("name")) ? null : $this->postParam("name"));
|
||||
$video->setDescription(empty($this->postParam("desc")) ? null : $this->postParam("desc"));
|
||||
$video->setUnlisted(false);
|
||||
$video->save();
|
||||
|
||||
$this->flash("succ", tr("changes_saved"), tr("changes_saved_video_comment"));
|
||||
|
|
Loading…
Reference in a new issue