Skip to content

Commit

Permalink
Fixed issue #9101: I can not switch to a template with uppercase cahr…
Browse files Browse the repository at this point in the history
…acter in template editor
  • Loading branch information
c-schmitz committed Aug 6, 2014
1 parent 07e30e1 commit 6ce8bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/sanitize_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function sanitize_filename($string, $force_lowercase = true, $alphanumeric = fal
* $alphanumeric - If set to *true*, will remove all non-alphanumeric characters.
*/

function sanitize_dirname($string, $force_lowercase = true, $alphanumeric = false) {
function sanitize_dirname($string, $force_lowercase = false, $alphanumeric = false) {
$string = str_replace(".", "", $string);
return sanitize_filename($string, $force_lowercase, $alphanumeric);
}
Expand Down

0 comments on commit 6ce8bc4

Please sign in to comment.