diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-02-02 17:18:27 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-02-02 17:18:27 +0100 |
commit | e3bde91f6d1df25f87b60b0f0a4875804d436b61 (patch) | |
tree | 37165806e74872c91743281c05ce8e4d06a8dad1 /web/html/pkgsubmit.php | |
parent | 8e32767c70e5fc86b9d8c7b0d74971f9c201d897 (diff) | |
download | aur-e3bde91f6d1df25f87b60b0f0a4875804d436b61.tar.gz aur-e3bde91f6d1df25f87b60b0f0a4875804d436b61.tar.xz |
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r-- | web/html/pkgsubmit.php | 2 |
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 = ''; |