Empty commit

This commit is contained in:
Git 2013-05-24 08:00:59 +00:00
parent 4433edd805
commit da2cd45c46
3 changed files with 2 additions and 12 deletions

View File

@ -126,16 +126,6 @@
$Subject = "Collage Comment Report: ID #".display_str($ThingID); $Subject = "Collage Comment Report: ID #".display_str($ThingID);
} }
break; break;
case 'rippy':
$DB->query('SELECT Message FROM rippies WHERE ID = ' . $ThingID);
if ($DB->record_count() < 1) {
$Error = "No rippy message with the reported ID found";
} else {
list($Message) = $DB->next_record();
$TypeLink = 'the rippy message "' . display_str($Message) . '"';
$Subject = 'Rippy message report: '.display_str($Message);
}
break;
default: default:
error("Incorrect type"); error("Incorrect type");
break; break;

View File

@ -50,7 +50,7 @@
$N['Users'] = explode('|', substr($N['Users'], 1, -1)); $N['Users'] = explode('|', substr($N['Users'], 1, -1));
$Usernames = ''; $Usernames = '';
foreach($N['Users'] as $UserID) { foreach ($N['Users'] as $UserID) {
$UserInfo = Users::user_info($UserID); $UserInfo = Users::user_info($UserID);
$Usernames .= $UserInfo['Username'] . ', '; $Usernames .= $UserInfo['Username'] . ', ';
} }

View File

@ -123,7 +123,7 @@
if ($_POST['users'.$FormID]) { if ($_POST['users'.$FormID]) {
$Usernames = explode(',', $_POST['users'.$FormID]); $Usernames = explode(',', $_POST['users'.$FormID]);
$EscapedUsernames = array(); $EscapedUsernames = array();
foreach($Usernames as $Username) { foreach ($Usernames as $Username) {
$EscapedUsernames[] = db_string(trim($Username));; $EscapedUsernames[] = db_string(trim($Username));;
} }