diff --git a/api/api.backend.php b/api/api.backend.php
index 49e0ed8..968f474 100644
--- a/api/api.backend.php
+++ b/api/api.backend.php
@@ -37,7 +37,7 @@ class api{
if($result = $sdb->query($sql)){
if($row = $result->fetch_assoc()){
$short = $row['shortlink'];
- return "
";
+ return "";
}
}
if(checkRemoteFile($link) !== true) return "Dead Link: $link
";
@@ -51,7 +51,7 @@ class api{
else: $sql = "INSERT INTO `links` (link, shortlink, dpass) VALUES ('$link', '$short', '$apikey')";
endif;
- if($result = $sdb->query($sql)): return "";
+ if($result = $sdb->query($sql)): return "";
else: return 'ERROR: ['.$sdb->error.']
';
endif;
}
diff --git a/index.php b/index.php
index fd0acba..1d47f79 100644
--- a/index.php
+++ b/index.php
@@ -170,8 +170,8 @@