From e527e810970798b7c1ecfe1cf8d20a3e7a9aa238 Mon Sep 17 00:00:00 2001 From: Fabrizio Balliano Date: Thu, 26 Jan 2023 10:23:33 +0000 Subject: [PATCH] Fixed incorrect case for _isValidSource() method call --- lib/Varien/Io/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Varien/Io/File.php b/lib/Varien/Io/File.php index 5814f7345b6..8212c53ed12 100644 --- a/lib/Varien/Io/File.php +++ b/lib/Varien/Io/File.php @@ -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; }