EOL / deprecated_eol_php_code

Encyclopedia of Life
http://eol.org/
Other
5 stars 7 forks source link

pass id from database row, not the whole row #125

Closed hyanwong closed 9 years ago

hyanwong commented 9 years ago

I mistakenly passed the entire array from fetch_row() as an id, rather than the actual value, fetch_row()[0]. This is a trivial fix