Skip to content

Commit

Permalink
Update Response.php
Browse files Browse the repository at this point in the history
  • Loading branch information
den67rus committed Jun 1, 2016
1 parent 2471e95 commit 489af32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getjump/Vk/Response/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Response implements \ArrayAccess, \Countable, \Iterator
*/
public function __construct($data, $callback = false)
{
if(!is_array($data)) {
if(is_string($data)) {
return $this->data = $data;
}

Expand Down

0 comments on commit 489af32

Please sign in to comment.