From 88d9e0e2b7997eb0c96dc737082c91b4e3f7ca6e Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 17 Jun 2026 15:10:37 +0000
Subject: [PATCH] =Fixed for single image upload fields populating the image meta. Need to check galleries now.

---
 inc/managers/queue/Storage.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/managers/queue/Storage.php b/inc/managers/queue/Storage.php
index 2a5d540..13c395e 100644
--- a/inc/managers/queue/Storage.php
+++ b/inc/managers/queue/Storage.php
@@ -19,7 +19,7 @@
 	public function __construct()
 	{
 		$this->defineTables();
-		$this->cache = Cache::for('queue', DAY_IN_SECONDS);
+		$this->cache = Cache::for('queue', DAY_IN_SECONDS)->user();
 	}
 
 	public function hasProcessingOperations(): bool
@@ -548,7 +548,7 @@
 			$s = $stats[0] ?? null;
 			if (!$s) continue;
 
-			$this->stats->table->query("
+			$this->stats->queryResults("
             INSERT INTO {table} (date, type, total_operations, successful_operations, failed_permanent_operations, total_items_processed)
             VALUES (%s, %s, %d, %d, %d, %d)
             ON DUPLICATE KEY UPDATE

--
Gitblit v1.10.0