Skip to content
Permalink
Browse files
fixing minor bug in html
  • Loading branch information
scnakandala committed Jul 25, 2017
1 parent 3007041 commit 48e8f51a8281a5be05b1264b6ee97a0ec3b3e425
Showing 1 changed file with 2 additions and 2 deletions.
@@ -820,7 +820,7 @@ public static function create_inputs($id, $isRequired, $allowedFileSize)
$vals = explode(",", $input->value);
echo '<option value="'.$vals[0].'" selected>'.$vals[0] .'</option>';
for($i=1; $i<count(explode(",", $input->value)); $i++){
echo '<option value="'.$vals[$i].'"'.$vals[$i] .'</option>';
echo '<option value="'.$vals[$i].'">'.$vals[$i] .'</option>';
}
echo '</select>';
}else{
@@ -839,7 +839,7 @@ public static function create_inputs($id, $isRequired, $allowedFileSize)
$vals = explode(",", $input->value);
echo '<option value="'.$vals[0].'" selected>'.$vals[0] .'</option>';
for($i=1; $i<count(explode(",", $input->value)); $i++){
echo '<option value="'.$vals[$i].'"'.$vals[$i] .'</option>';
echo '<option value="'.$vals[$i].'">'.$vals[$i] .'</option>';
}
echo '</select>';
}else{

0 comments on commit 48e8f51

Please sign in to comment.