From 6ba67830e9067e93a82f0fa0c29c875c69a51178 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 19 Jan 2026 14:00:30 +0100 Subject: [PATCH] #7894 --- app/Fluidbook/Link/LinksData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Fluidbook/Link/LinksData.php b/app/Fluidbook/Link/LinksData.php index db8d24950..a24ecd32f 100644 --- a/app/Fluidbook/Link/LinksData.php +++ b/app/Fluidbook/Link/LinksData.php @@ -851,7 +851,7 @@ class LinksData $change = true; $links[$d['id']]['alt'] = $alt; } - self::saveLinksInFile($book->id, backpack_user() ?? backpack_user()->id, 'Alternative contents automatically ocerized', $links, $rulers); + self::saveLinksInFile($book->id, backpack_user() == null ? 0 : backpack_user()->id, 'Alternative contents automatically ocerized', $links, $rulers); } return $res; } -- 2.39.5