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 | |
parent | 8e32767c70e5fc86b9d8c7b0d74971f9c201d897 (diff) |
Minor variable parser bug fix (cf. commits 492c8c66, 7a58e99e).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-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 a13a674..2b11b7b 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 = ''; |