diff options
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 95772386..fd51c7ef 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -101,7 +101,7 @@ if ($uid): $continuation_line = 0; $current_line = ""; $paren_depth = 0; - foreach (split("\n", $pkgbuild_raw) as $line) { + foreach (explode("\n", $pkgbuild_raw) as $line) { $line = trim($line); # Remove comments $line = preg_replace('/\s*#.*/', '', $line); |