Don't display my debugging stuff in the communication module

This commit is contained in:
james 2009-10-22 17:12:23 +00:00
parent 85adcf0594
commit 45e18745ba

View File

@ -396,8 +396,7 @@ case 'dialog_edit':
}
if($_GET['action']=="send" && $_GET['send'])
{
if($_GET['action']=="send" && $_GET['send']) {
$q=mysql_query("SELECT * FROM emails WHERE id='".$_GET['send']."'");
$r=mysql_fetch_object($q);
@ -411,13 +410,11 @@ case 'dialog_edit':
echo "<select name=\"to\">";
echo " <option value=\"\">Choose Email Recipients</option>";
$str="";
foreach($mailqueries AS $k=>$mq)
{
foreach($mailqueries AS $k=>$mq) {
$tq=mysql_query($mq['query']);
if(mysql_error()) {
echo mysql_error();
exit;
}
$num=mysql_num_rows($tq);
$str.="<h2>".$mq['name']." $num </h2>";
@ -454,7 +451,7 @@ case 'dialog_edit':
echo "</td></tr>";
echo "</table>";
}
echo $str;
//echo $str;
}
else if($_GET['action']=="reallysend" && $_GET['reallysend'] && $_GET['to'])
{