Skip to content

Commit

Permalink
fix PHP notices
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberroland committed Mar 12, 2024
1 parent 89eda7b commit 26a3c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lam/lib/modules/inetLocalMailRecipient.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2004 - 2022 Roland Gruber
Copyright (C) 2004 - 2024 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -341,7 +341,7 @@ class inetLocalMailRecipient extends baseModule {
$return['mailLocalAddress'] = $row;
}
if (in_array('mailRoutingAddress', $fields)) {
$mailRoutingAddress = null;
$mailRoutingAddress = '';
if (isset($attributes['mailRoutingAddress'][0])) {
$mailRoutingAddress = $attributes['mailRoutingAddress'][0];
}
Expand Down

0 comments on commit 26a3c99

Please sign in to comment.