diff options
author | jaquer <jaquer@users.noreply.github.com> | 2022-01-26 18:26:54 -0800 |
---|---|---|
committer | jaquer <jaquer@users.noreply.github.com> | 2022-01-27 07:34:19 -0800 |
commit | 1ffe3c860978ac92bb4a4d3a9941e7a63c063a36 (patch) | |
tree | 868c22db065307e74d5c1fda9b4b67185ec0b624 /single.inc.php | |
parent | 3e31ae67d502190dcf34a04b279060fe40c368a8 (diff) | |
download | microblog-1ffe3c860978ac92bb4a4d3a9941e7a63c063a36.tar.gz microblog-1ffe3c860978ac92bb4a4d3a9941e7a63c063a36.tar.bz2 microblog-1ffe3c860978ac92bb4a4d3a9941e7a63c063a36.zip |
Changed all instances of 'message' to 'content' for consistency with db field.
It also removes ambiguity with the success/error message variables.
Diffstat (limited to 'single.inc.php')
-rw-r--r-- | single.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/single.inc.php b/single.inc.php index 623e121..dfcb7e3 100644 --- a/single.inc.php +++ b/single.inc.php @@ -26,7 +26,7 @@ $formatted_time = strftime('%b %d %Y %H:%M', $post['post_timestamp']); ?> <time class="post-timestamp" datetime="<?= $datetime ?>" data-unix-time="<?= $post['post_timestamp'] ?>"><?= $formatted_time ?></time> - <p class="post-message"><?= nl2br(autolink($post['post_content'])) ?></p> + <p class="post-content"><?= nl2br(autolink($post['post_content'])) ?></p> <?php else: ?> <p>No post with this ID.</p> <?php endif; ?> |