Commit 8473dda3 by Carsten Brandt

fixed stringHelper dirname to return empty string

in case no dir is present
parent 9630c807
...@@ -85,7 +85,7 @@ class BaseStringHelper ...@@ -85,7 +85,7 @@ class BaseStringHelper
if ($pos !== false) { if ($pos !== false) {
return mb_substr($path, 0, $pos); return mb_substr($path, 0, $pos);
} else { } else {
return $path; return '';
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment