summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/html/pkgsubmit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index a13a6746..2b11b7ba 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -185,7 +185,7 @@ if ($_COOKIE["AURSID"]):
$len = strlen($regs[0][0]);
if (isset($new_pkgbuild[$var])) {
- $replacement = explode(" ", $new_pkgbuild[$var], 2);
+ $replacement = substr($new_pkgbuild[$var], strpos($new_pkgbuild[$var], " "));
}
else {
$replacement = '';