diff --git a/www/search.php b/www/search.php index 38ad03b7..c1e78bc7 100644 --- a/www/search.php +++ b/www/search.php @@ -156,14 +156,17 @@ // Bug ID echo ' ', $row['id'], ''; - echo '
(edit)', "\n"; + if (is_string($logged_in) && $logged_in === 'developer') { + echo '
(edit)'; + } + echo ''."\n"; // Date - echo ' ', format_date(strtotime($row['ts1'])), "\n"; + echo ' ', format_date(strtotime($row['ts1'], 'Y-m-d H:i')), "\n"; // Last Modified $ts2 = strtotime($row['ts2']); - echo ' ' , ($ts2 ? format_date($ts2) : 'Not modified') , "\n"; + echo ' ' , ($ts2 ? format_date($ts2, 'Y-m-d H:i') : '') , "\n"; // Package if ($package_count !== 1) {