LimeSurvey: master 2677cf56

Author Committer Branch Timestamp Parent
sickpig sickpig master 2016-06-14 10:26:43 master 2d3ff524
Changeset
  • FIX: the query introduced by commit 93d30e4e

the query won't work if the database used is postgres due to
type mistmacth in the where condition: lime_question_attributes.value=1

Since lime_question_attributes.value is of type "text" it needs to
be compared against strings rather then numbers.

The error reported by postgres is:

ERROR: operator does not exist: text = integer at character 238
No operator matches the given name and argument type(s). You might
need to add explicit type casts.

mod - application/helpers/frontend_helper.php Diff File