Skip to content

Commit

Permalink
Avoid notice if email is not set.
Browse files Browse the repository at this point in the history
Happens with LDAP driver for example.
  • Loading branch information
yunosh committed Mar 2, 2015
1 parent da672df commit 521998e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/templates/admin/groups/edit.inc
Expand Up @@ -10,7 +10,7 @@
<?php if (!$groups->readOnly()): ?>
<p class="horde-content">
<?php echo Horde::label('email', _("Email Address")) ?>
<input type="text" name="email" id="email" size="50" value="<?php echo htmlspecialchars($group['email']) ?>" />
<input type="text" name="email" id="email" size="50" value="<?php if (isset($group['email'])) echo htmlspecialchars($group['email']) ?>" />
</p>
<?php endif; ?>

Expand Down

0 comments on commit 521998e

Please sign in to comment.