diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php
index fede693f..0339d004 100644
--- a/web/html/pkgedit.php
+++ b/web/html/pkgedit.php
@@ -28,6 +28,7 @@ if (!$_REQUEST["ID"]) {
print __("Missing package ID.");
print "
\n";
html_footer(AUR_VERSION);
+ exit();
}