Skip to content

Commit 4be7af2

Browse files
authored
Fixed incorrect case for _isValidSource() method call
1 parent 4940277 commit 4be7af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Varien/Io/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ public function write($filename, $src, $mode = null)
494494
throw new Exception('Detected malicious path or filename input.');
495495
}
496496

497-
if (!$this->_IsValidSource($src) || !$this->_isFilenameWriteable($filename)) {
497+
if (!$this->_isValidSource($src) || !$this->_isFilenameWriteable($filename)) {
498498
return false;
499499
}
500500

0 commit comments

Comments
 (0)