Corrected bug

This commit is contained in:
Thomas FORGIONE 2015-05-21 17:18:22 +02:00
parent 7e52e1ec08
commit 4a15413b30
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ var addPreviousNextFromId = function(client, req, res, callback, id) {
"((camera).target).y AS ty, " +
"((camera).target).z AS tz, " +
"time AS time " +
"FROM previousnextclicked;",
[],
"FROM previousnextclicked WHERE user_id = $1;",
[id],
function(err, result) {
res.locals.path = res.locals.path || [];
for (var i in result.rows) {