Skip to content

Commit

Permalink
Fixed 'Last Modified' checking correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Aug 1, 2024
1 parent 4792d12 commit 31edeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
echo ' <td align="center">', format_date(strtotime($row['ts1'])), "</td>\n";

// Last Modified
$ts2 = strtotime($row['ts2'] ?? date('Y-m-d H:i:s'));
$ts2 = $row['ts2'] ? strtotime($row['ts2']) : false;
echo ' <td align="center">' , ($ts2 ? format_date($ts2) : 'Not modified') , "</td>\n";

// Package
Expand Down

0 comments on commit 31edeaf

Please sign in to comment.