diff --git a/client/example.php b/client/example.php index 71f4a0fb..7a9c8a27 100644 --- a/client/example.php +++ b/client/example.php @@ -53,8 +53,7 @@ alert("Found: {$photos->data->members[0]}"); alert("Grab a random photo"); -$photos = Gallery3::factory($root->url, $auth) - ->set("random", "true") +$photos = Gallery3::factory("{$root->url}?random=true", $auth) ->load(); alert("Found: {$photos->data->members[0]}");