Created
January 25, 2016 14:59
-
-
Save nilsmunch/4ece913e999bad848211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$comment = $this->order->comment; | |
if (!empty($comment)) echo '<b>Ved bestilling:</b><p>'.htmlentities($this->order->comment).'</p>'; | |
Echoes normally. | |
if (!empty($this->order->comment)) echo '<b>Ved bestilling:</b><p>'.htmlentities($this->order->comment).'</p>'; | |
When not put out in another variable, this is empty... becuase f*ck you developer... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment