diff --git a/www/pages/admin.php b/www/pages/admin.php
index 109c586..3399339 100644
--- a/www/pages/admin.php
+++ b/www/pages/admin.php
@@ -57,6 +57,8 @@ Database::connect();
+
+
@@ -68,14 +70,13 @@ Database::connect();
-
-
Show
-
+
+
@@ -96,6 +97,21 @@ Database::connect();
+
+
+
+
+
diff --git a/www/pages/api_updatecheck.php b/www/pages/api_updatecheck.php
index 4ebb532..a52311a 100644
--- a/www/pages/api_updatecheck.php
+++ b/www/pages/api_updatecheck.php
@@ -6,7 +6,7 @@
$name = $OPTIONS['name'];
- $updatedata = listUpdateData();
+ $updatedata = Programs::listUpdateData();
if (! array_key_exists($name, $updatedata)) httpError(404, 'Invalid Request - [Name] not found');
diff --git a/www/pages/su_ajax.php b/www/pages/su_ajax.php
index f08af7b..4fba709 100644
--- a/www/pages/su_ajax.php
+++ b/www/pages/su_ajax.php
@@ -6,7 +6,7 @@ require_once (__DIR__ . '/../extern/egh/ExtendedGitGraph.php');
$cmd = $OPTIONS['cmd'];
$secret = $OPTIONS['secret'];
-if (isset($OPTIONS['suffix'])) $cmd = $OPTIONS['suffix'] . '::' . $cmd;
+if (isset($OPTIONS['suffix']) && $OPTIONS['suffix'] !== '') $cmd = $OPTIONS['suffix'] . '::' . $cmd;
$cmd = strtolower($cmd);
if ($secret !== $CONFIG['ajax_secret']) die('Unauthorized.');