Front page fixes

main
Yasen Pramatarov 2024-07-06 17:32:13 +03:00
parent dde1646b7b
commit 2136700fc8
1 changed files with 2 additions and 2 deletions

View File

@ -193,8 +193,8 @@ if (!empty($conferences['records'])) {
echo "\t\t<tr>\n"; echo "\t\t<tr>\n";
// sometimes $column is empty, we make it '' then // sometimes $column is empty, we make it '' then
foreach ($row as $key => $column) { foreach ($row as $key => $column) {
if ($key === 'conference ID' && $column === $conference_id) { if ($key === 'conference ID') {
echo "\t\t\t<td><strong>" . htmlspecialchars($column ?? '') . "</strong></td>\n"; echo "\t\t\t<td><a href=\"$app_root?page=conferences&id=" . htmlspecialchars($column ?? '') . "\">" . htmlspecialchars($column ?? '') . "</a></td>\n";
} elseif ($key === 'conference name') { } elseif ($key === 'conference name') {
echo "\t\t\t<td><a href=\"$app_root?page=conferences&name=" . htmlspecialchars($column ?? '') . "\">" . htmlspecialchars($column ?? '') . "</a></td>\n"; echo "\t\t\t<td><a href=\"$app_root?page=conferences&name=" . htmlspecialchars($column ?? '') . "\">" . htmlspecialchars($column ?? '') . "</a></td>\n";
} else { } else {