mirror of
https://github.com/openvk/openvk
synced 2025-06-07 21:04:40 +03:00
feat: video not unlisted af. editing
This commit is contained in:
parent
b63d2c24bd
commit
e7faa45050
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