aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions/is_absolute_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-05-15 13:55:35 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-05-15 14:05:56 +0200
commit06edf15ac3e63350b7973b04f07578de1c4565d0 (patch)
tree71eb2c073515435b441e41097f8b5288f1ea63cb /tests/functions/is_absolute_test.php
parentf2bc62ba75648d9a56d8fa5f215e4bffd299e77a (diff)
downloadforums-06edf15ac3e63350b7973b04f07578de1c4565d0.tar
forums-06edf15ac3e63350b7973b04f07578de1c4565d0.tar.gz
forums-06edf15ac3e63350b7973b04f07578de1c4565d0.tar.bz2
forums-06edf15ac3e63350b7973b04f07578de1c4565d0.tar.xz
forums-06edf15ac3e63350b7973b04f07578de1c4565d0.zip
[ticket/11546] Fix is_absolute() throws E_NOTICE for empty string
PHPBB3-11546
Diffstat (limited to 'tests/functions/is_absolute_test.php')
-rw-r--r--tests/functions/is_absolute_test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functions/is_absolute_test.php b/tests/functions/is_absolute_test.php
index 26425d2a36..5d70b6c2a3 100644
--- a/tests/functions/is_absolute_test.php
+++ b/tests/functions/is_absolute_test.php
@@ -14,6 +14,7 @@ class phpbb_functions_is_absolute_test extends phpbb_test_case
static public function is_absolute_data()
{
return array(
+ array('', false),
array('/etc/phpbb', true),
array('etc/phpbb', false),