From 6d71f0e5351f220ebbba27d00719a57eb7c88a79 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Sat, 9 Dec 2023 07:12:33 +0000 Subject: [PATCH] Fix more dynamic property assignment being deprecated errors --- inc/display.php | 2 ++ templates/themes/recent/theme.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/inc/display.php b/inc/display.php index 2f246f6b..eae483a2 100644 --- a/inc/display.php +++ b/inc/display.php @@ -373,6 +373,8 @@ class PostProps { public $images; public $replies; + + public $built; } diff --git a/templates/themes/recent/theme.php b/templates/themes/recent/theme.php index 3f9d9a16..f6189734 100644 --- a/templates/themes/recent/theme.php +++ b/templates/themes/recent/theme.php @@ -15,6 +15,8 @@ // Wrap functions in a class so they don't interfere with normal Tinyboard operations class RecentPosts { + public array $excluded; + public function build($action, $settings) { global $config, $_theme;