Skip to content

Commit

Permalink
Fixed issue #4946 : php warnig with assesment in Array (Multi Flexibl…
Browse files Browse the repository at this point in the history
…e) (Numbers)

Dev : add ":" in array for assesment testing

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@9791 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Shnoulle committed Feb 15, 2011
1 parent f8bbc89 commit d3c2683
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.php
Expand Up @@ -7,7 +7,6 @@
* LimeSurvey is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*
* $Id$
Expand Down Expand Up @@ -2982,7 +2981,7 @@ function doAssessment($surveyid, $returndataonly=false)
$groups=array();
foreach($fieldmap as $field)
{
if (in_array($field['type'],array('1','F','H','W','Z','L','!','M','O','P')))
if (in_array($field['type'],array('1','F','H','W','Z','L','!','M','O','P',":")))
{
$fieldmap[$field['fieldname']]['assessment_value']=0;
if (isset($_SESSION[$field['fieldname']]))
Expand Down

0 comments on commit d3c2683

Please sign in to comment.