Skip to content

Commit e527e81

Browse files
committed
Fixed incorrect case for _isValidSource() method call
1 parent ed820f3 commit e527e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Varien/Io/File.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ public function write($filename, $src, $mode = null)
469469
throw new Exception('Detected malicious path or filename input.');
470470
}
471471

472-
if (!$this->_IsValidSource($src) || !$this->_isFilenameWriteable($filename)) {
472+
if (!$this->_isValidSource($src) || !$this->_isFilenameWriteable($filename)) {
473473
return false;
474474
}
475475

0 commit comments

Comments
 (0)