diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2022-03-12 16:54:30 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2022-03-12 16:54:30 +0100 |
commit | 3d12c83c394d32e61c50f24917f65329e99f5619 (patch) | |
tree | 98ab7fe653252936f7a86cb7ea8e5793589c156d /includes/admin/views/_concerts_table.php | |
parent | a10aee732e36f18a8f3e35da9a205a24ba229373 (diff) | |
download | gigologadmin-3d12c83c394d32e61c50f24917f65329e99f5619.tar.gz gigologadmin-3d12c83c394d32e61c50f24917f65329e99f5619.tar.bz2 gigologadmin-3d12c83c394d32e61c50f24917f65329e99f5619.zip |
ConcertsTable: Initialize page_no on construct.
Just to make sure it has a default value and is guaranteed initialized
befor it is being used.
Diffstat (limited to 'includes/admin/views/_concerts_table.php')
-rw-r--r-- | includes/admin/views/_concerts_table.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |