removed debugoutput and added default sorting

This commit is contained in:
2022-10-03 20:58:28 +02:00
parent 40bb148b33
commit 168184e142

View File

@@ -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;