From 5422bc885e16091f4970ba389f5c0c025e1dc721 Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Sat, 17 Mar 2012 17:43:20 +0100 Subject: [PATCH] Fixed issue #5911: Error when entering global settings and using PostGres --- application/models/Survey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Survey.php b/application/models/Survey.php index 8ec7f969cb6..8530ede8c5a 100644 --- a/application/models/Survey.php +++ b/application/models/Survey.php @@ -77,7 +77,7 @@ public function scopes() { return array( 'active' => array( - 'condition' => 'active = "Y"', + 'condition' => "active = 'Y'", ), ); }