diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-12-04 15:39:26 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-12-04 15:39:26 +0100 |
commit | b443355fc1f32512f2530652cd151599a7ad77d8 (patch) | |
tree | f67038a43d88f2321672bb237d6fc8eb8d1d8160 | |
parent | 6c0eb143c95f3e5cbe535f7ea84c5a3e59dc1b6e (diff) |
-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>"; + } } } } |