summaryrefslogtreecommitdiffstats
path: root/web/html/pkgsubmit.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r--web/html/pkgsubmit.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index dfe3ce8..ac98ba7 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -430,6 +430,10 @@ html_header("Submit");
?>
+<?php if ($error): ?>
+ <p class="pkgoutput"><?php print $error ?></p>
+<?php endif; ?>
+
<div class="pgbox">
<div class="pgboxtitle">
<span class="f3"><?php print __("Submit"); ?></span>
@@ -502,6 +506,7 @@ html_header("Submit");
else:
# Visitor is not logged in
print __("You must create an account before you can upload packages.");
+ exit();
?>
<br />