summaryrefslogtreecommitdiffstats
path: root/pages/massemail.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-05-28 02:07:59 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2013-05-28 02:07:59 -0500
commitc955c27cbebba3edaab9532834ac72041eccbf58 (patch)
treea6fc54a3b73e043bf61e73f446d358a866cc7b58 /pages/massemail.php
parent77b0bd5e51aeefb0d09e7a5bcab633657f299d22 (diff)
downloadpathery-c955c27cbebba3edaab9532834ac72041eccbf58.tar.xz
Edited a few more places where "include_once" was being used within a method. Hopefully this doesn't break anything :)
Diffstat (limited to 'pages/massemail.php')
-rw-r--r--pages/massemail.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/massemail.php b/pages/massemail.php
index a85451b..d9c97c7 100644
--- a/pages/massemail.php
+++ b/pages/massemail.php
@@ -12,6 +12,7 @@ topbar($Links);
include_once('./includes/datas.php');
include_once('./includes/sqlEmbedded.php');
include_once('./includes/emails.php');
+include_once('./includes/sqlEmbedded.php');
if (!$accepted) exit;
@@ -77,8 +78,6 @@ if (isset($_POST['queueMassEmail']) AND $_POST['queueMassEmail'] == 'true') {
exit;
}
-include_once('./includes/sqlEmbedded.php');
-
$res = mysqli_query($mysqli, "SELECT count(*) as count FROM `emailQueue`");
$row = mysqli_fetch_assoc($res);
$count = $row['count'];