list/comments: fix PHP warning
This commit is contained in:
parent
d4d3c776a5
commit
315c2a6e51
|
@ -85,7 +85,7 @@ $helper = $this->getHelper('CommandForm');
|
|||
<br>
|
||||
<?= $comment->expiration ? sprintf(
|
||||
$this->translate('This comment expires on %s at %s.'),
|
||||
date('d.m.y', $comment-expiration),
|
||||
date('d.m.y', $comment->expiration),
|
||||
date('H:i', $comment->expiration)
|
||||
) : $this->translate('This comment does not expire.'); ?>
|
||||
</td>
|
||||
|
@ -111,4 +111,4 @@ $helper = $this->getHelper('CommandForm');
|
|||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue