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;