From dfac9f5813df7d4c7c812c381364c8898333f559 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 11 Sep 2024 17:14:53 +0200 Subject: PHPStan booleansInConditions (#6793) * PHPStan booleansInConditions * Uniformisation --- app/Controllers/subscriptionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/subscriptionController.php') diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php index af18bbced..fe228829a 100644 --- a/app/Controllers/subscriptionController.php +++ b/app/Controllers/subscriptionController.php @@ -304,7 +304,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController { case 'normal': case 'reader': $get = Minz_Request::paramString('get'); - if ($get) { + if ($get !== '') { $url_redirect = ['c' => 'index', 'a' => $from, 'params' => ['get' => $get]]; } else { $url_redirect = ['c' => 'index', 'a' => $from]; -- cgit v1.2.3