spotweb/spotweb — pull request #1361 by mvdwater (2011-12-29 16:51:43+00:00)
Title: fix sqlite queries for retrieve.php

I'm running spotweb on sqlite database and noticed that retrieve.php crashed with errors. I've fixed the errors I encountered and retrieve.php works correctly now.
The first one was a typo, the second one a forgotten table shortcut and the last one an unused $userId.