summaryrefslogtreecommitdiff
path: root/modules/diary.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-01-06 11:39:43 +0000
committerDries Buytaert <dries@buytaert.net>2001-01-06 11:39:43 +0000
commit8511d9fb45bb2f5a016f0dd13b22a67d448c0d37 (patch)
treecde1eb77e8ef1f1f55818182a108d5997125f379 /modules/diary.module
parentb604c438945f6d94472a470d2b09ad2b63c58651 (diff)
downloadbrdo-8511d9fb45bb2f5a016f0dd13b22a67d448c0d37.tar.gz
brdo-8511d9fb45bb2f5a016f0dd13b22a67d448c0d37.tar.bz2
A batch of patches:
- configuration: + renamed $db_name to $db_user + renamed $db_base to $db_name - fixed small diary glitch - fixed initial-comment-score problem - fixed comment rating bug: improved the API and updated the themes - removed some tabs from Steven ;) - fixed backend warnings and improved robustness I'm not happy yet with the headline grabber - it generates too many SQL errors. - some small cosmetic changes in comment.module - fixed minor glitch in format_interval()
Diffstat (limited to 'modules/diary.module')
-rw-r--r--modules/diary.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/diary.module b/modules/diary.module
index 27a74dea4..8c05ffffa 100644
--- a/modules/diary.module
+++ b/modules/diary.module
@@ -220,7 +220,7 @@ function diary_user($username, $section, $operation) {
function diary_menu() {
global $user;
- return array("edit your diary" => "module.php?mod=diary&op=edit", "view your diary" => "module.php?mod=diary&op=view");
+ return array("edit your diary" => "module.php?mod=diary&op=add", "view your diary" => "module.php?mod=diary&op=view");
}
function diary_block() {