From 2dea707534ce2b600119d54266ff5f15ecbba97e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 23 Jan 2006 00:46:17 +0000 Subject: [PATCH] We're not supposed to use curly braces to access chars in strings --- browse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browse.php b/browse.php index d7cde3a..8b13341 100644 --- a/browse.php +++ b/browse.php @@ -60,7 +60,7 @@ $nodes = ''; foreach ($listing AS $item) { - if ($item{ strlen($item) - 1 } == '/') + if ($item[ strlen($item) - 1 ] == '/') { $show['directory'] = true; $browse = $controller->href_compound('browse.php', $item); -- 2.43.5