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 ed820f3 commit e527e81
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 @@ -469,7 +469,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 e527e81

Please sign in to comment.