Browse Source

fixed stringHelper dirname to return empty string

in case no dir is present
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
8473dda39b
  1. 2
      framework/helpers/BaseStringHelper.php

2
framework/helpers/BaseStringHelper.php

@ -85,7 +85,7 @@ class BaseStringHelper
if ($pos !== false) {
return mb_substr($path, 0, $pos);
} else {
return $path;
return '';
}
}

Loading…
Cancel
Save