Skip to content

Commit

Permalink
ENGCOM-2270: Smallest codestyle fix in Option/Type/Text.php #16566
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored Jul 13, 2018
2 parents ef16761 + 7d92f4f commit 582bc9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function validateUserValue($values)
*/
public function prepareForCart()
{
if ($this->getIsValid() && strlen($this->getUserValue()) > 0) {
if ($this->getIsValid() && ($this->getUserValue() !== '')) {
return $this->getUserValue();
} else {
return null;
Expand Down

0 comments on commit 582bc9f

Please sign in to comment.