From e1a5ff5141bffa072a2186298d423c1b20a23b6d Mon Sep 17 00:00:00 2001 From: SpeedyD Date: Mon, 28 Oct 2024 16:39:42 +0100 Subject: [PATCH] (Forgot I don't need this line here lol) --- app/Helpers/Helpers.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Helpers/Helpers.php b/app/Helpers/Helpers.php index 01785e13ad..1002de884d 100644 --- a/app/Helpers/Helpers.php +++ b/app/Helpers/Helpers.php @@ -413,7 +413,6 @@ function parsePrompts($text, &$prompts) { $prompt = App\Models\Prompt\Prompt::where('id', $match)->first(); if ($prompt) { $prompts[] = $prompt; - $prompt_hasimg = $prompt->has_image ? ''.$prompt->name.'' : ''; $text = preg_replace('/\[prompt='.$match.'\]/', ''.$prompt->name.'', $text); } }