From 474109a5df0a06f5343ab184838fe2d80e3872a8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 11 Jan 2026 19:23:20 +0000
Subject: [PATCH] =Fixed timeline CRUD.js issue where this.activeItem was set null when we still needed it
---
inc/rest/routes/BioRoutes.php | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/inc/rest/routes/BioRoutes.php b/inc/rest/routes/BioRoutes.php
index a265186..685c0b2 100644
--- a/inc/rest/routes/BioRoutes.php
+++ b/inc/rest/routes/BioRoutes.php
@@ -225,9 +225,7 @@
if (!$this->checkUser($user_id)) {
return [];
}
- //TODO: Check we're clearing this cache
- $key = sprintf('user_%c_thumbnail_data', $user_id);
- $cache = $this->cache->get($key);
+ $cache = $this->cache->get($user_id);
if ($cache) {
return $cache;
}
@@ -261,7 +259,7 @@
'type' => jvbArtistType($link),
];
- $this->cache->set($key, $data);
+ $this->cache->set($user_id, $data);
return $data;
}
--
Gitblit v1.10.0