}
-$DB->query("SELECT UserID FROM pm_conversations_users WHERE UserID!='$LoggedUser[ID]' AND ConvID='$ConvID' AND (ForwardedTo=0 OR ForwardedTo=UserID)");
+$DB->query("
+ SELECT UserID
+ FROM pm_conversations_users
+ WHERE UserID!='$LoggedUser[ID]'
+ AND ConvID='$ConvID'
+ AND (ForwardedTo=0 OR ForwardedTo=UserID)");
$ReceiverIDs = $DB->collect('UserID');
diff --git a/sections/log/index.php b/sections/log/index.php
index 14a6d388..48805ecd 100644
--- a/sections/log/index.php
+++ b/sections/log/index.php
@@ -45,7 +45,7 @@
}
$Row = 'a';
$Usernames = array();
-while(list($ID, $Message, $LogTime) = $DB->next_record()) {
+while (list($ID, $Message, $LogTime) = $DB->next_record()) {
$MessageParts = explode(" ", $Message);
$Message = "";
$Color = $Colon = false;
diff --git a/sections/reports/takereport.php b/sections/reports/takereport.php
index 5615e623..188c5d47 100644
--- a/sections/reports/takereport.php
+++ b/sections/reports/takereport.php
@@ -90,7 +90,7 @@
}
-foreach($Channels as $Channel) {
+foreach ($Channels as $Channel) {
send_irc("PRIVMSG ".$Channel." :".$ReportID." - ".$LoggedUser['Username']." just reported a ".$Short.": https://".SSL_SITE_URL."/".$Link." : ".strtr($Reason, "\n", " "));
}
diff --git a/sections/reportsv2/ajax_report.php b/sections/reportsv2/ajax_report.php
index a086275f..ddb69cb5 100644
--- a/sections/reportsv2/ajax_report.php
+++ b/sections/reportsv2/ajax_report.php
@@ -20,7 +20,7 @@
die();
}
-foreach($ReportType['report_messages'] as $Message) {
+foreach ($ReportType['report_messages'] as $Message) {
?>
=$Message?>
diff --git a/sections/reportsv2/static.php b/sections/reportsv2/static.php
index 541d9569..768be64f 100644
--- a/sections/reportsv2/static.php
+++ b/sections/reportsv2/static.php
@@ -5,7 +5,7 @@
* for that (reports.php). If you wanted to add a new view, you'd simply
* add to the case statement(s) below and add an entry to views.php to
* explain it.
- * Any changes made to this page within the foreach() should probably be
+ * Any changes made to this page within the foreach loop should probably be
* replicated on the auto page (reports.php).
*/
@@ -532,7 +532,7 @@
Warning