mirror of
https://github.com/Tailszefox/Pony-Fusion.git
synced 2024-11-23 14:27:59 +01:00
Check if current pony is hidden by checking if property hidden is set
Avoids "Undefined index: hidden" errors
This commit is contained in:
parent
2536052505
commit
fe7426f7d1
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ else
|
|||
{
|
||||
?><optgroup label="<?php echo $properties ?>"></optgroup><?php
|
||||
}
|
||||
else if(!$properties["hidden"])
|
||||
else if(isset($properties["hidden"]) === FALSE)
|
||||
{
|
||||
?><option value="<?php echo $id ?>" <?php if($from == $id) { ?>selected="selected"<?php } ?>><?php echo $properties["first"] . $properties["second"] ?></option><?php
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ else
|
|||
{
|
||||
?><optgroup label="<?php echo $properties ?>"></optgroup><?php
|
||||
}
|
||||
else if(!$properties["hidden"])
|
||||
else if(isset($properties["hidden"]) === FALSE)
|
||||
{
|
||||
?><option value="<?php echo $id ?>" <?php if($to == $id) { ?>selected="selected"<?php } ?>><?php echo $properties["first"] . $properties["second"] ?></option><?php
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue