From 44d8f28901b006378c34ffaa1b6230094bd8adb9 Mon Sep 17 00:00:00 2001 From: Gina Haeussge Date: Sun, 8 Mar 2009 15:57:50 +0100 Subject: [PATCH] fixed missing parentheses --- syntax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax.php b/syntax.php index aa0aa3a..ff48e86 100644 --- a/syntax.php +++ b/syntax.php @@ -291,7 +291,7 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin { $webdir = false; if (count($allowed_absolute_paths) == count($web_paths)) { for($i = 0; $i < count($allowed_absolute_paths); $i++) { - if (strstr($dir, trim($allowed_absolute_paths[$i]) == $dir) { + if (strstr($dir, trim($allowed_absolute_paths[$i])) == $dir) { $basedir = trim($allowed_absolute_paths[$i]); $webdir = trim($web_paths[$i]); break;