diff --git a/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php b/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php index 1c0b970b3b9..7f9e039d90f 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php +++ b/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php @@ -545,7 +545,8 @@ protected function _unserializeValue($value) */ public function getPrintableOptionValue($optionValue) { - return strip_tags($this->getFormattedOptionValue($optionValue)); + $value = $this->getFormattedOptionValue($optionValue); + return $value === null ? '' : strip_tags($value); } /**