removed debugoutput and added default sorting
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user