From e79a737a53904325522c736fad7356c96ddda4b9 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Fri, 9 Oct 2015 09:40:04 +0200 Subject: [PATCH] More robust version --- controllers/prototype/dbrequests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/prototype/dbrequests.js b/controllers/prototype/dbrequests.js index 01146a8..c21caf7 100644 --- a/controllers/prototype/dbrequests.js +++ b/controllers/prototype/dbrequests.js @@ -697,7 +697,7 @@ DBReq.ExpCreator.prototype.execute = function() { " Scene.name != 'peachcastle' AND\n" + " CoinCombination.id = Experiment.coin_combination_id AND\n" + " Other.id = Experiment.user_id AND\n" + - " Other.valid IS NOT false AND\n" + + " Other.valid IS true AND\n" + " Experiment.finished = true AND\n" + " Other.rating = U.rating AND\n" + " Other.id != U.id AND\n" +