From 11ee95dadc408e16e9832af9fd0b41495e78b0a6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 19 Oct 2000 13:31:23 +0000 Subject: A big, fat commit with a shitload of internal changes. Not that much visual changes: - removed redundant files user.class.php, calendar.class.php and backend.class.php. - converted *all* mysql queries to queries supported by the database abstraction layer. - expanded the watchdog to record more information on what actually happened. - bugfix: anonymous readers where not able to view comments. - bugfix: anonymous readers could gain read-only access to the submission queue. - bugfix: invalid includes in backend.php - bugfix: invalid use of '$user->block' and last but not least: - redid 50% of the user account system --- submission.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'submission.php') diff --git a/submission.php b/submission.php index a9466a422..b1a64291e 100644 --- a/submission.php +++ b/submission.php @@ -57,7 +57,7 @@ function submission_displayItem($id) { $theme->footer(); } -if ($user) { +if ($user->id) { switch($op) { case "view": submission_displayItem($id); -- cgit v1.2.3