Bernd Wurst commited on 2018-01-30 09:43:42
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.
... | ... |
@@ -75,7 +75,7 @@ foreach ($user_domains as $domain) |
75 | 75 |
$punycode = ''; |
76 | 76 |
} |
77 | 77 |
$domainname = "{$domain->fqdn}{$punycode}"; |
78 |
- if (have_module('contacts') && $_SESSION['role'] & ROLE_CUSTOMER && update_possible($domain->id)) { |
|
78 |
+ if ((!$domain->cancel_date || $domain->cancel_date > date('Y-m-d')) && have_module('contacts') && $_SESSION['role'] & ROLE_CUSTOMER && update_possible($domain->id)) { |
|
79 | 79 |
$domainname = internal_link('update', $domainname, 'id='.$domain->id); |
80 | 80 |
} |
81 | 81 |
output(" <tr><td>{$domainname}</td><td>{$regdate}</td><td>{$features}</td></tr>\n"); |
82 | 82 |