mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 06:30:07 +01:00
fix: weird paste updated_at display
This commit is contained in:
parent
ea09c62dc6
commit
1b1a3795e4
1 changed files with 4 additions and 3 deletions
|
@ -85,10 +85,11 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
|
||||||
<small class="title is-6 has-text-weight-normal has-text-grey">
|
<small class="title is-6 has-text-weight-normal has-text-grey">
|
||||||
By <a href="<?= urlForMember($paste->user) ?>"><?= pp_html_escape($paste->user->username) ?></a>
|
By <a href="<?= urlForMember($paste->user) ?>"><?= pp_html_escape($paste->user->username) ?></a>
|
||||||
<br/>
|
<br/>
|
||||||
Created: <?= $paste['created_at'] ?>
|
Created: <?= $paste->created_at ?>
|
||||||
<br/>
|
<br/>
|
||||||
<?php if ($paste['updated_at'] != $paste['created_at']): ?>
|
<?php if ($paste->updated_at !== null && $paste->updated_at !== $paste->created_at): ?>
|
||||||
Updated: <?= $paste['updated_at'] ?>
|
Updated: <?= $paste->updated_at ?>
|
||||||
|
<br/>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
Expiry: <?= $paste->expiryDisplay() ?>
|
Expiry: <?= $paste->expiryDisplay() ?>
|
||||||
</small>
|
</small>
|
||||||
|
|
Loading…
Add table
Reference in a new issue