diff options
author | deva <deva> | 2010-03-18 10:57:14 +0000 |
---|---|---|
committer | deva <deva> | 2010-03-18 10:57:14 +0000 |
commit | 5f38d6d5c17c01d2f3488965e817478bf3a8cd06 (patch) | |
tree | 4d127a3e9f445879957f0c907483ec42877c031d | |
parent | f85e1443a041a1e4ad38a9d79dac81c94a07e05c (diff) |
Fix sorting of entries after newly inserted entry.
-rw-r--r-- | utils/modules/guestbook.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/modules/guestbook.php b/utils/modules/guestbook.php index 200322d..92fe732 100644 --- a/utils/modules/guestbook.php +++ b/utils/modules/guestbook.php @@ -307,6 +307,9 @@ class Guestbook { $_SERVER['REMOTE_ADDR'], convert($message_hidden)); $this->add($entry); + + krsort($this->guestbook); + $this->write(); $str = ""; } else { |