diff --git a/admin.php b/admin.php
index ab71185..41ee697 100644
--- a/admin.php
+++ b/admin.php
@@ -107,11 +107,9 @@ if (isset($_SESSION["logindata"]["user"]) && isset($_SESSION["logindata"]["pass"
echo "
PollD is ".$polldenabled." | ";
echo "";
echo "
";
-
-
echo "";
- } else {
+ } else {
if ( ($_GET['action'] != "" && ($_GET['action'] == "edit" && $_GET['id'] != "")) || $_POST['Add'] == "Add") {
$i = 0;
// show Add New Entry Form
@@ -134,7 +132,7 @@ echo "TEST: ".$col['Field']." -> $colval
\n";
if ($col['Field'] == "password") {
echo "".$col['Field']." | | ";
} else {
- echo "".$col['Field']." | | ";
+ echo "".$col['Field']." | | ";
}
}
}
@@ -164,7 +162,7 @@ echo "TEST: ".$col['Field']." -> $colval
\n";
} else if ($keycell == "id") {
$id = $valcell;
} else {
- echo "".$keycell." | | ";
+ echo "".$keycell." | | ";
}
}
}
diff --git a/dsmerror.log b/dsmerror.log
deleted file mode 100644
index e69de29..0000000
diff --git a/includes/polld.php b/includes/polld.php
index dba901e..9e61173 100644
--- a/includes/polld.php
+++ b/includes/polld.php
@@ -428,9 +428,7 @@ function cleanupDatabase($servername = "", $queryname = "", $overviewqueryname =
$tablename = "res_".$query["name"]."_".$server["servername"];
if ($hashonly != "yes") {
$dropsql = "drop table ".$tablename;
- echo $dropsql;
- $bla = $this->fireMySQLQuery($dropsql, TRUE);
- var_dump($bla);
+ $this->fireMySQLQuery($dropsql, FALSE);
}
$delsql = "DELETE FROM log_hashes where `tablename` = '".$tablename."'";
$this->fireMySQLQuery($delsql, FALSE);