1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Mail and progressBar fixes.

This commit is contained in:
Cameron
2014-10-12 18:01:19 -07:00
parent 5e867b378e
commit 01f0751c04
8 changed files with 190 additions and 79 deletions

View File

@@ -197,7 +197,7 @@ class newsletter_mailout
$selects = array_flip(explode(',', $selectVals));
if ($sql->db_Select('newsletter', 'newsletter_id, newsletter_title', '`newsletter_parent`=0'))
if ($sql->select('newsletter', 'newsletter_id, newsletter_title', '`newsletter_parent`=0'))
{
$c=0;
while ($row = $sql->db_Fetch(MYSQL_ASSOC))
@@ -219,8 +219,9 @@ class newsletter_mailout
}
else
{
$var[$c]['caption'] = NLLAN_50;
$var[$c]['html'] = '';
return false; // Return Nothing to avoid confusion.
// $var[$c]['caption'] = NLLAN_50;
// $var[$c]['html'] = '';
}
return $var;