Commit e3bde91f authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Minor variable parser bug fix (cf. commits 492c8c66, 7a58e99e).


Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent 8e32767c
......@@ -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 = '';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment