Skip to content

Commit

Permalink
MDL-31560 Error: Fixed coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajesh Taneja committed Sep 13, 2013
1 parent 2b503e4 commit af0afab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions error/index.php
Expand Up @@ -3,9 +3,9 @@
require('../config.php');
require_once($CFG->libdir.'/eventslib.php');

if ($form = data_submitted()) { // form submitted, do not check referer (original page unknown)!

/// Only deal with real users
// Form submitted, do not check referer (original page unknown).
if ($form = data_submitted()) {
// Only deal with real users.
if (!isloggedin()) {
redirect($CFG->wwwroot);
}
Expand Down

0 comments on commit af0afab

Please sign in to comment.