From adaca4d4e39e6767e9693c445e9c949b3aa28225 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 14 Sep 2023 17:32:33 +0200 Subject: [PATCH] fix: sub for root --- bootstrap/helpers/subscriptions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrap/helpers/subscriptions.php b/bootstrap/helpers/subscriptions.php index ae3506782..7eda74051 100644 --- a/bootstrap/helpers/subscriptions.php +++ b/bootstrap/helpers/subscriptions.php @@ -47,6 +47,9 @@ function getEndDate() function isSubscriptionActive() { + if (auth()->user()->isAdminFromSession()) { + return true; + } if (!isCloud()) { return false; }