Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.441 kB
<?php
require_once('init.php');
if(logged_in())
{
$user = new user($dbpdo, $_SESSION['user_id']);
$user->report_class($_POST['class']);
$class = new course($dbpdo, $_POST['class']);
$user->message(1770, '[UReddit] Please review class "' . $class->value . '"', $user->value . ' reported ' . $class->value . ' at ' . $user->timestamp() . '; please [address it](http://ureddit.com/admin).');
}
?><strong>reported</strong>
Jump to Line
Something went wrong with that request. Please try again.