...
 
Commits (2)
......@@ -1129,6 +1129,7 @@ class archive
}
if (isset($archive->accessRuleDuration)) {
$archive->accessRuleNotEmpty = true;
$archive->accessRuleDurationUnit = substr($archive->accessRuleDuration, -1);
$archive->accessRuleDuration = substr($archive->accessRuleDuration, 1, -1);
}
......
......@@ -86,7 +86,7 @@
</td>
</tr>
<?merge archive.accessRuleDuration?>
<?merge archive.accessRuleNotEmpty.bool() ?>
<tr>
<td><strong>Access rule</strong></td>
<td>
......