Skip to content

Commit

Permalink
Fixed bug #848: Error Message after sending an individual Invitation …
Browse files Browse the repository at this point in the history
…E-Mail; Reminder-Email isn´t working

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2796 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Apr 24, 2007
1 parent 8d7cff2 commit 3efd363
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/tokens.php
Expand Up @@ -666,7 +666,7 @@
{
$tokenoutput .= "\t\t<td align='center' valign='top'>\n"
."\t\t\t<input style='height: 16; width: 16px; font-size: 8; font-family: verdana' type='submit' value='R' title='"
.$clang->gT("Send reminder email to this entry")."' onclick=\"window.open('{$_SERVER['PHP_SELF']}?sid=$surveyid&amp;subaction=remind&amp;tid=$brow[0]', '_top')\" />"
.$clang->gT("Send reminder email to this entry")."' onclick=\"window.open('{$_SERVER['PHP_SELF']}?sid=$surveyid&amp;action=tokens&amp;subaction=remind&amp;tid=".$brow['tid']."', '_top')\" />"
."\t\t</td>\n";
}
else
Expand Down Expand Up @@ -830,7 +830,7 @@
else
{
$tokenoutput .= ReplaceFields($clang->gT("Mail to {FIRSTNAME} {LASTNAME} ({EMAIL}) Failed"), $fieldsarray);
$tokenoutput .= "<br /><pre>$headers<br />$message</pre>";
$tokenoutput .= "<br /><pre>$modsubject<br />$modmessage</pre>";
}
}
if ($ctcount > $emcount)
Expand Down Expand Up @@ -949,7 +949,7 @@
$ctresult = $connect->Execute($ctquery) or die ("Database error!<br />\n" . htmlspecialchars($connect->ErrorMsg()));
$ctcount = $ctresult->RecordCount();
$ctfieldcount = $ctresult->FieldCount();
$emquery = "SELECT firstname, lastname, email, token, tid";
$emquery = "SELECT firstname, lastname, email, token, tid, language ";
if ($ctfieldcount > 7) {$emquery .= ", attribute_1, attribute_2";}

// TLR change to put date into sent and completed
Expand Down

0 comments on commit 3efd363

Please sign in to comment.