Skip to content

Commit d28003f

Browse files
committed
Fixed incorrect case for _isValidSource() method call
1 parent a4aeb13 commit d28003f

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

470-
if (!$this->_IsValidSource($src) || !$this->_isFilenameWriteable($filename)) {
470+
if (!$this->_isValidSource($src) || !$this->_isFilenameWriteable($filename)) {
471471
return false;
472472
}
473473

0 commit comments

Comments
 (0)