summaryrefslogtreecommitdiff
path: root/submit.php
diff options
context:
space:
mode:
Diffstat (limited to 'submit.php')
-rw-r--r--submit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/submit.php b/submit.php
index 2a78a6819..02b6f8959 100644
--- a/submit.php
+++ b/submit.php
@@ -6,7 +6,7 @@ page_header();
$theme->header();
-if ($user->id) {
+if (user_access($user, "post content")) {
if ($mod) {
module_invoke($mod, "user");
}
@@ -25,7 +25,7 @@ if ($user->id) {
}
}
else {
- $theme->box("Submit", message_account());
+ $theme->box("Submit", message_access());
}
$theme->footer();