From 194f04f8c948090c54695afa6712c0c952e74639 Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Thu, 18 Oct 2012 14:39:14 +0200 Subject: [PATCH] Fixed issue #6715: Minimum number of files to upload cannot be an expression --- application/helpers/common_helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/helpers/common_helper.php b/application/helpers/common_helper.php index 03c5e573a98..8dc7f42008b 100644 --- a/application/helpers/common_helper.php +++ b/application/helpers/common_helper.php @@ -4235,7 +4235,7 @@ function questionAttributes($returnByName=false) 'category'=>$clang->gT('Other'), 'sortorder'=>130, "inputtype"=>"text", - 'default'=>1, + 'default'=>'1', "help"=>$clang->gT("Maximum number of files that the participant can upload for this question"), "caption"=>$clang->gT("Max number of files")); @@ -4244,7 +4244,7 @@ function questionAttributes($returnByName=false) 'category'=>$clang->gT('Other'), 'sortorder'=>132, "inputtype"=>"text", - 'default'=>0, + 'default'=>'0', "help"=>$clang->gT("Minimum number of files that the participant must upload for this question"), "caption"=>$clang->gT("Min number of files"));