https://src.bluestatic.org
/
viewsvn.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
We're not supposed to use curly braces to access chars in strings
[viewsvn.git]
/
browse.php
diff --git
a/browse.php
b/browse.php
index d7cde3aad2a32e88469979f28b9ba1cf60a03bd0..8b133419b1f698082d3719358774f27ac664390c 100644
(file)
--- 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);