Skip to content

Commit

Permalink
Fixed incorrect case for _isValidSource() method call
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Jan 26, 2023
1 parent a4aeb13 commit d28003f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Varien/Io/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public function write($filename, $src, $mode = null)
throw new Exception('Detected malicious path or filename input.');
}
if (!$this->_IsValidSource($src) || !$this->_isFilenameWriteable($filename)) {
if (!$this->_isValidSource($src) || !$this->_isFilenameWriteable($filename)) {
return false;
}
Expand Down

0 comments on commit d28003f

Please sign in to comment.