Skip to content

Commit

Permalink
Specify NULL Form ID
Browse files Browse the repository at this point in the history
  • Loading branch information
bbdoc committed Apr 15, 2024
1 parent 8f31354 commit bd8a45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/add/quest.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<li class='text-center'><input type='checkbox' name='mon_<?php echo $mon; ?>'
id='mon_<?php echo $mon; ?>' />
<label for='mon_<?php echo $mon; ?>'>
<?php if ($form_id <> 0 && $form_name <> 'Normal' ) { $addform = "_f".$form_id; } else { $addform = ""; } ?>
<?php if ($form_id <> 0 && $form_id <> "" && $form_name <> 'Normal' ) { $addform = "_f".$form_id; } else { $addform = ""; } ?>
<img class="mb-2" src='<?php echo $uicons_pkmn; ?>/pokemon/<?php echo $mon_id.$addform; ?>.png' />
<br><?php echo $mon_id; ?><br><?php echo $pokemon_name; ?><br>
<?php if ( $form_name <> "Normal" && $form_name <> "" && $form_id <> "00" ) { ?>
Expand Down

1 comment on commit bd8a45a

@matt-yml
Copy link

@matt-yml matt-yml commented on bd8a45a Apr 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed an issue with _f strings being added to image urls, but not the form.
discord convo
OP

image

nice work and thanks @bbdoc

Please sign in to comment.