Loading modules/PremiumPodcasts/Models/SubscriptionModel.php +5 −3 Original line number Diff line number Diff line Loading @@ -118,9 +118,11 @@ class SubscriptionModel extends Model ->where([ 'token' => hash('sha256', $token), 'status' => 'active', 'expires_at' => null, ]) ->groupStart() ->where('expires_at', null) ->orWhere('`expires_at` > UTC_TIMESTAMP()', null, false) ->groupEnd() ->first(); } Loading Loading
modules/PremiumPodcasts/Models/SubscriptionModel.php +5 −3 Original line number Diff line number Diff line Loading @@ -118,9 +118,11 @@ class SubscriptionModel extends Model ->where([ 'token' => hash('sha256', $token), 'status' => 'active', 'expires_at' => null, ]) ->groupStart() ->where('expires_at', null) ->orWhere('`expires_at` > UTC_TIMESTAMP()', null, false) ->groupEnd() ->first(); } Loading