summaryrefslogtreecommitdiff
path: root/tests/docroot
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-02-08 19:10:58 +0000
committerStefan Bühler <stbuehler@web.de>2015-02-08 19:10:58 +0000
commit673923daf839fda59e4dc1e5f95f5b265a65e802 (patch)
tree0eeeaad45610203e587831434da45ff9f71d2b85 /tests/docroot
parentdeceae78c9584350d17a9b5b9a5d2fef3def5e45 (diff)
downloadlighttpd-git-673923daf839fda59e4dc1e5f95f5b265a65e802.tar.gz
[tests] fix undefined index warning in sendfile.php
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2985 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/docroot')
-rw-r--r--tests/docroot/www/sendfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docroot/www/sendfile.php b/tests/docroot/www/sendfile.php
index 0aa8786f..e4602203 100644
--- a/tests/docroot/www/sendfile.php
+++ b/tests/docroot/www/sendfile.php
@@ -6,7 +6,7 @@ function pathencode($path) {
$val = "X-Sendfile2: " . pathencode(getcwd() . "/index.txt") . " " . $_GET["range"];
-if ($_GET["range2"]) $val .= ", " . pathencode(getcwd() . "/index.txt") . " " . $_GET["range2"];
+if (isset($_GET["range2"])) $val .= ", " . pathencode(getcwd() . "/index.txt") . " " . $_GET["range2"];
header($val);