summaryrefslogtreecommitdiff
path: root/utils/modules
diff options
context:
space:
mode:
authordeva <deva>2010-03-18 10:57:14 +0000
committerdeva <deva>2010-03-18 10:57:14 +0000
commit5f38d6d5c17c01d2f3488965e817478bf3a8cd06 (patch)
tree4d127a3e9f445879957f0c907483ec42877c031d /utils/modules
parentf85e1443a041a1e4ad38a9d79dac81c94a07e05c (diff)
Fix sorting of entries after newly inserted entry.
Diffstat (limited to 'utils/modules')
-rw-r--r--utils/modules/guestbook.php3
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 {