Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@matslindh
Copy link
Contributor

There was a small bug lingering in the code that retrieves metadata for images based on a query. The code used $user, but this value is the last user from iteration earlier in the loop, and not the user of the image that owns the image to retrieve metadata for. $row['user'] references the user that actually owns the image instead.

This failure was exposed by adding a dummy user to the list of users to retrieve metadata for.

@christeredvartsen christeredvartsen merged commit 1dc7809 into imbo:develop Sep 27, 2016
@matslindh matslindh deleted the fix-undefined-user-in-metadata branch October 27, 2016 09:45
fangel added a commit to tv2/imbo that referenced this pull request May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants