mirror of
https://github.com/openvk/openvk
synced 2024-11-15 11:39:13 +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->willExecuteWriteAction();
|
||||
|
||||
if(!is_null($album_id))
|
||||
$this->fail(10, "album_id not implemented");
|
||||
if(!is_null($album_id)) // Думаю ?int $album_id = NULL возвращает 0 из-за ?int
|
||||
if($album_id > 0)
|
||||
$this->fail(10, "album_id not implemented");
|
||||
|
||||
// TODO get rid of dups
|
||||
$to = $this->getUser();
|
||||
|
|
Loading…
Reference in a new issue