Skip to content

Commit 6b99024

Browse files
committed
Fixed incorrect case for _isValidSource() method call
1 parent b2a7bbd commit 6b99024

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
@@ -496,7 +496,7 @@ public function write($filename, $src, $mode = null)
496496
throw new Exception('Detected malicious path or filename input.');
497497
}
498498

499-
if (!$this->_IsValidSource($src) || !$this->_isFilenameWriteable($filename)) {
499+
if (!$this->_isValidSource($src) || !$this->_isFilenameWriteable($filename)) {
500500
return false;
501501
}
502502

0 commit comments

Comments
 (0)