diff --git a/sections/reports/compose.php b/sections/reports/compose.php index d5f28942..a512a7ce 100644 --- a/sections/reports/compose.php +++ b/sections/reports/compose.php @@ -126,16 +126,6 @@ $Subject = "Collage Comment Report: ID #".display_str($ThingID); } 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: error("Incorrect type"); break; diff --git a/sections/user/notify_edit.php b/sections/user/notify_edit.php index 82f55178..72393631 100644 --- a/sections/user/notify_edit.php +++ b/sections/user/notify_edit.php @@ -50,7 +50,7 @@ $N['Users'] = explode('|', substr($N['Users'], 1, -1)); $Usernames = ''; - foreach($N['Users'] as $UserID) { + foreach ($N['Users'] as $UserID) { $UserInfo = Users::user_info($UserID); $Usernames .= $UserInfo['Username'] . ', '; } diff --git a/sections/user/notify_handle.php b/sections/user/notify_handle.php index b94a4746..f83aea8a 100644 --- a/sections/user/notify_handle.php +++ b/sections/user/notify_handle.php @@ -123,7 +123,7 @@ if ($_POST['users'.$FormID]) { $Usernames = explode(',', $_POST['users'.$FormID]); $EscapedUsernames = array(); - foreach($Usernames as $Username) { + foreach ($Usernames as $Username) { $EscapedUsernames[] = db_string(trim($Username));; }