diff options
-rw-r--r-- | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -66,7 +66,9 @@ if ($response->getStatusCode()->value == 20) { echo "<a href=\"$line[link]\" style=\"display: block;\">$line[text]</a>"; } else if ($line['type'] === 'text') { - echo "<p>$line[text]</p>"; + if (! empty($line['text'])) { + echo "<p>$line[text]</p>"; + } } } } |