Skip to content

Commit

Permalink
Merge pull request #388 from jgerhold/patch-1
Browse files Browse the repository at this point in the history
Fix htmlentities deprecation
  • Loading branch information
GM-Alex committed Feb 23, 2024
2 parents c25e567 + 5b5c869 commit ae4b08b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/View/UserGroups/UserGroupEditForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<tr class="form-field form-required">
<th valign="top"><label for="userGroupName"><?php echo TXT_UAM_GROUP_NAME; ?></label></th>
<td>
<input size="40" value="<?php echo htmlentities($userGroup->getName()); ?>"
<input size="40" value="<?php echo htmlentities($userGroup->getName() ?? ''); ?>"
id="userGroupName" name="userGroupName"/><br/>
<?php echo TXT_UAM_GROUP_NAME_DESC; ?>
</td>
Expand All @@ -47,14 +47,14 @@
<th valign="top"><label for="userGroupDescription"><?php echo TXT_UAM_GROUP_DESC; ?></label>
</th>
<td>
<input size="40" value="<?php echo htmlentities($userGroup->getDescription()); ?>"
<input size="40" value="<?php echo htmlentities($userGroup->getDescription() ?? ''); ?>"
id="userGroupDescription" name="userGroupDescription"/><br/>
<?php echo TXT_UAM_GROUP_DESC_DESC; ?>
</td>
</tr>
<tr class="form-field form-required">
<th valign="top"><label for="ipRange"><?php echo TXT_UAM_GROUP_IP_RANGE; ?></label></th>
<td><input size="40" value="<?php echo htmlentities($userGroup->getIpRange()); ?>"
<td><input size="40" value="<?php echo htmlentities($userGroup->getIpRange() ?? ''); ?>"
id="ipRange" name="ipRange"/><br/>
<?php echo TXT_UAM_GROUP_IP_RANGE_DESC; ?>
</td>
Expand Down

0 comments on commit ae4b08b

Please sign in to comment.