Commit 39d93b17 authored by Nigel McNie's avatar Nigel McNie
Browse files

Prevent dwoo warning when mtime/size aren't set (for parent folders).


Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent e20aaf76
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
{/if} {/if}
</td> </td>
<td>{$file->description|escape}</td> <td>{$file->description|escape}</td>
<td>{$file->size}</td> <td>{tif $file->size ?: ''}</td>
<td>{$file->mtime}</td> <td>{tif $file->mtime ?: ''}</td>
<td class="right"> <td class="right">
{if $editable && !$file->isparent} {if $editable && !$file->isparent}
{if $file->artefacttype == 'archive'}<a href="{$WWWROOT}artefact/file/extract.php?file={$file->id}">{str tag=Unzip section=artefact.file}</a>{/if} {if $file->artefacttype == 'archive'}<a href="{$WWWROOT}artefact/file/extract.php?file={$file->id}">{str tag=Unzip section=artefact.file}</a>{/if}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment