mirror of
https://github.com/openvk/openvk
synced 2024-11-15 19:49:14 +03:00
fix audio.add
This commit is contained in:
parent
8786bd36fb
commit
ba2e00adac
1 changed files with 3 additions and 2 deletions
|
@ -485,8 +485,9 @@ final class Audio extends VKAPIRequestHandler
|
||||||
$this->requireUser();
|
$this->requireUser();
|
||||||
$this->willExecuteWriteAction();
|
$this->willExecuteWriteAction();
|
||||||
|
|
||||||
if(!is_null($album_id))
|
if(!is_null($album_id)) // Думаю ?int $album_id = NULL возвращает 0 из-за ?int
|
||||||
$this->fail(10, "album_id not implemented");
|
if($album_id > 0)
|
||||||
|
$this->fail(10, "album_id not implemented");
|
||||||
|
|
||||||
// TODO get rid of dups
|
// TODO get rid of dups
|
||||||
$to = $this->getUser();
|
$to = $this->getUser();
|
||||||
|
|
Loading…
Reference in a new issue