summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/pkgsubmit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 49fb1b2..7ae0c1c 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -263,6 +263,7 @@ if ($uid):
unset($pkg_version);
$depends = array();
foreach (explode("\n", $srcinfo_raw) as $line) {
+ $line = trim($line);
if (empty($line) || $line[0] == '#') {
continue;
}