From ee64ae0be7dcd8844ca91dceeb93f1781a3a2761 Mon Sep 17 00:00:00 2001 From: ludo Date: Tue, 12 Dec 2023 21:40:24 +0100 Subject: [PATCH] fix greedy replace --- app/Repositories/Shop/Contents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/Shop/Contents.php b/app/Repositories/Shop/Contents.php index 4657a70f..882f259a 100644 --- a/app/Repositories/Shop/Contents.php +++ b/app/Repositories/Shop/Contents.php @@ -16,7 +16,7 @@ class Contents return $model ? $model->text : ''; } - public static function getContent() + public static function getHomepage() { return self::get(1)->text ?? ''; }