Skip to content

Commit

Permalink
Dev: Add isset check on variable
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Dec 14, 2015
1 parent 7b34485 commit cead471
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div>
<div class="form-group">
<label class="col-sm-4 control-label" for='question_type_button'><?php eT("Question Type:"); ?></label>
<?php if($selectormodeclass!="none"): ?>
<?php if(isset($selectormodeclass) && $selectormodeclass != "none"): ?>
<?php
foreach (getQuestionTypeList($eqrow['type'], 'array') as $key=> $questionType)
{
Expand Down

0 comments on commit cead471

Please sign in to comment.