summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.php b/account.php
index 74ff88220..f08e51072 100644
--- a/account.php
+++ b/account.php
@@ -555,7 +555,7 @@ switch ($op) {
account_page_edit();
break;
default:
- header("Location: diary.php?op=edit&name=$user->userid");
+ header("Location: diary.php?op=add&name=$user->userid");
}
break;
default: