Minor improvements (#952)

This commit is contained in:
Roman Kelesidis 2023-10-05 19:19:02 +07:00 committed by GitHub
commit 1ac777c1f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ switch ($mode) {
foreach (DB()->fetch_rowset($sql) as $row) {
$class = ($row['user_pending']) ? 'med' : 'med bold';
$class .= ($row['group_moderator'] == $user_id) ? ' colorMod' : '';
$href = "group.php?g={$row['group_id']}";
$href = GROUP_URL . $row['group_id'];
if (IS_ADMIN) {
$href .= "&u=$user_id";

View file

@ -221,7 +221,7 @@ class Atom
$atom .= " </author>\n";
$atom .= " <updated>" . $date . "T$time+00:00</updated>\n";
$atom .= " <id>tag:rto.feed," . $date . ":/t/$topic_id</id>\n";
$atom .= " <link href=\"" . TOPIC_URL . "$topic_id\" />\n";
$atom .= " <link href=" . TOPIC_URL . $topic_id . " />\n";
$atom .= "</entry>\n";
}
$atom .= "</feed>";