From 951800eca6045f6e0dc1e9a12c225c8e55b044e9 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 14 Nov 2024 18:40:15 +0000 Subject: Several issues discovered by PHPStan --- Zotlabs/Widget/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Widget/Activity.php') diff --git a/Zotlabs/Widget/Activity.php b/Zotlabs/Widget/Activity.php index 34e0f67dc..19f7acadb 100644 --- a/Zotlabs/Widget/Activity.php +++ b/Zotlabs/Widget/Activity.php @@ -17,7 +17,7 @@ class Activity { $o = ''; if(is_array($arr) && array_key_exists('limit',$arr)) - $limit = " limit " . intval($limit) . " "; + $limit = " limit " . intval($arr['limit']) . " "; else $limit = ''; -- cgit v1.2.3