Unwanted removal of query filter in poll card
This commit is contained in:
parent
05ab8334ef
commit
2e995fc20b
@ -295,6 +295,7 @@ print_fiche_titre($langs->trans("CommentsOfVoters"),'','');
|
||||
// Comment list
|
||||
$sql = 'SELECT id_comment, usercomment, comment';
|
||||
$sql.= ' FROM '.MAIN_DB_PREFIX.'opensurvey_comments';
|
||||
$sql.= " WHERE id_sondage='".$db->escape($numsondage)."'";
|
||||
$sql.= " ORDER BY id_comment";
|
||||
$resql = $db->query($sql);
|
||||
$num_rows=$db->num_rows($resql);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user