projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c97c1
)
Shows all the prepared answers for validations.
author
Stéphane Jacob
<sj@m4x.org>
Sat, 29 Aug 2009 19:44:07 +0000
(21:44 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sat, 29 Aug 2009 19:44:07 +0000
(21:44 +0200)
include/validations.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/validations.inc.php
b/include/validations.inc.php
index
085fffc
..
4ae9086
100644
(file)
--- 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];
}