From 3d12c83c394d32e61c50f24917f65329e99f5619 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 12 Mar 2022 16:54:30 +0100 Subject: ConcertsTable: Initialize page_no on construct. Just to make sure it has a default value and is guaranteed initialized befor it is being used. --- includes/admin/views/_concerts_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/admin/views/_concerts_table.php') diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php index 13d723a..484adca 100644 --- a/includes/admin/views/_concerts_table.php +++ b/includes/admin/views/_concerts_table.php @@ -28,7 +28,7 @@ if (!class_exists("GiglogAdmin_ConcertsTable")) private string $username; private array $filter; - private int $page_no; + private int $page_no = 1; private string $nonce; public static function update() : void -- cgit v1.2.3