From 9c43e8fc7a192dfe768c76a539373915bddaa0aa Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 29 Jun 2001 22:08:57 +0000 Subject: Extremely large commit: - Fixed tiny quote problem in account.php. - Fixed tiny bug in comment.inc. - Fixed tiny bug in comment.module. - Fixed tiny bug in meta.module. - Simplified user_access() API. - Rewrote link system: still needs fine-tuning and testing so don't upgrade if you are running a production site. ;) Updated all modules and themes to reflect this change. All other themes and modules need updating too! --- submit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'submit.php') diff --git a/submit.php b/submit.php index 02b6f8959..b1cfaa320 100644 --- a/submit.php +++ b/submit.php @@ -6,7 +6,7 @@ page_header(); $theme->header(); -if (user_access($user, "post content")) { +if (user_access("post content")) { if ($mod) { module_invoke($mod, "user"); } -- cgit v1.2.3