From: moodler Date: Tue, 7 Sep 2004 08:04:02 +0000 (+0000) Subject: Fixed a typo, whoops X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=98de6431e94d04bc5b5b4d8d8bdae3fa6b0d7e29;p=moodle.git Fixed a typo, whoops --- diff --git a/lib/setup.php b/lib/setup.php index f846ecbd69..2d3f556f5d 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -267,7 +267,7 @@ if ($CFG->theme == 'standardxhtml') { // Temporary measure to help with XHTML validation if (empty($_SESSION['USER'])) { // Allow W3CValidator in as user called w3cvalidator (or guest) if ((strpos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') !== false) or - (strpos($_SERVER['HTTP_USER_AGENT'], 'Cynthia') !== false ) { + (strpos($_SERVER['HTTP_USER_AGENT'], 'Cynthia') !== false )) { if (!$USER = get_user_info_from_db("username", "w3cvalidator")) { $USER = guest_user(); }