summaryrefslogtreecommitdiff
path: root/src/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.php')
-rw-r--r--src/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.php b/src/index.php
index f2d0f86..d3a0c1d 100644
--- a/src/index.php
+++ b/src/index.php
@@ -24,7 +24,7 @@ use Symfony\Contracts\Service\Attribute\Required;
header_remove("X-Powered-By");
-const MYSTICBB_VERSION = "0.2.0-dev";
+const MYSTICBB_VERSION = "0.2.0";
if (($_SERVER["HTTP_USER_AGENT"] ?? "") === "") {
http_response_code(403);
@@ -1543,7 +1543,7 @@ if ($_action === "auth") {
$user = new User;
$user->id = $item->authorId;
if ($db->fetch($user))
- $userLookup[$item->authorId] = &$user;
+ $userLookup[$item->authorId] = $user;
}
}
$end_time = microtime(true);