From 168184e1429f24c69e081057f65257b32dc0a0df Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Mon, 3 Oct 2022 20:58:28 +0200 Subject: [PATCH] removed debugoutput and added default sorting --- index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.php b/index.php index 68d7ac3..4ab3214 100644 --- a/index.php +++ b/index.php @@ -8,7 +8,7 @@ include_once('config/config.php'); $ListID = -1; $loggedin = false; -$sortby = ''; +$sortby = 'date_asc'; if (isset($_GET['list'])) { $ListID = $_GET['list']; @@ -18,8 +18,6 @@ if (isset($_POST['sortby'])) { $sortby = $_POST['sortby']; } -print_r($sortby); - if (isset($_SESSION['listid'])) { if ($ListID == $_SESSION['listid']) { $loggedin = true;