1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

listQry cleanup.

This commit is contained in:
Cameron
2015-05-13 13:51:47 -07:00
parent 03d052f8b7
commit 1b403bba6d

View File

@@ -396,11 +396,11 @@ class mailout_main_ui extends e_admin_ui
if($action !== 'main' )
{
$this->listQry = "SELECT * FROM #mail_content WHERE mail_content_status = ".varset($qr[$action],20);
$this->listQry = "SELECT * FROM `#mail_content` WHERE mail_content_status = ".varset($qr[$action],20);
}
else
{
$this->listQry = "SELECT * FROM #mail_content WHERE (mail_content_status = ".MAIL_STATUS_TEMP ." OR mail_content_status = ".MAIL_STATUS_SAVED.")";
$this->listQry = "SELECT * FROM `#mail_content` WHERE (mail_content_status = ".MAIL_STATUS_TEMP ." OR mail_content_status = ".MAIL_STATUS_SAVED.")";
}