sammyred22 / phpflickr

Automatically exported from code.google.com/p/phpflickr
0 stars 0 forks source link

Index error in example.php, photos instead of photo #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. example.php
2. look at the additional informations

What is the expected output? What do you see instead?
PHP Notice:  Undefined index: photo in 
/home/mirkolofio/Downloads/phpFlickr-3.1/example.php on line 21
PHP Warning:  Invalid argument supplied for foreach() in 
/home/mirkolofio/Downloads/phpFlickr-3.1/example.php on line 21

What version of the product are you using? On what operating system?
3.1

Please provide any additional information below.
The stream index is 'photos', not 'photo'

Original issue reported on code.google.com by mirkolo...@gmail.com on 21 Nov 2013 at 9:58

GoogleCodeExporter commented 8 years ago
Damn sorry, i correct myself: the right key is ['photos']['photo'].
Let's mind about the pagination.

Original comment by mirkolo...@gmail.com on 21 Nov 2013 at 10:04