LimeSurvey/LimeSurvey — pull request #47 by geelweb (2012-09-27 15:14:48+00:00)
Title: Fixed issue occuring updating survey timings on postgresql db

Hi,

The IFNULL function does not exists on PostgreSQL si I replaced it by CASE WHEN in Save::set_answer_time()

I also quote the $setField column name using CDbConnection::quoteColumnName because, still under postgres, column names should not start with digit.

Tested with both MySQL and PostgreSQL.