From 745539c09d8107274383de9df9b4273ea805f484 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sat, 29 Aug 2009 21:44:07 +0200 Subject: [PATCH] Shows all the prepared answers for validations. --- include/validations.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/validations.inc.php b/include/validations.inc.php index 085fffc..4ae9086 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -363,7 +363,7 @@ abstract class Validate static $answers_table; if (!isset($answers_table[$this->type])) { $r = XDB::query("SELECT id, title, answer FROM requests_answers WHERE category = {?}", $this->type); - $answers_table[$this->type] = $r->fetchAllAssoc($r); + $answers_table[$this->type] = $r->fetchAllAssoc(); } return $answers_table[$this->type]; } -- 2.1.4