Skip to content

Commit

Permalink
Fixed issue minor warning when in debug mode that "$qidattributes['ot…
Browse files Browse the repository at this point in the history
…her_numbers_only']" did not exist

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@7682 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Sep 26, 2009
1 parent f8164e5 commit 95ce2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qanda.php
Expand Up @@ -4008,7 +4008,7 @@ function do_shortfreetext($ia)
global $clang;
$qidattributes=getQuestionAttributes($ia[0]);

if ($qidattributes['other_numbers_only']==1)
if (isset($qidattributes['other_numbers_only']) && $qidattributes['other_numbers_only']==1)
{
$numbersonly = 'onkeypress="return goodchars(event,\'0123456789.\')"';
}
Expand Down

0 comments on commit 95ce2cb

Please sign in to comment.