View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
03444Bug reportsOtherpublic2009-08-12 20:57
Reporteruser4051Assigned Torakete  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.85+ 
Fixed in Version1.86 
Summary03444: In reminder-email: following fields will not replaced: {SURVEYNAME}, {ADMINNAME}, {ADMINEMAIL} and FROM field is empty
Description

remotecontrol: In a reminder-email using function sSendEmail() following fields will not replaced:
{SURVEYNAME}, {ADMINNAME}, {ADMINEMAIL}
Also the "FROM" field of the Email is empty.

Reason:
Bug in
file: lsrc.helper.php
function: emailSender($surveyid, $type, $maxLsrcEmails='')

Additional Information

I fixed the bug by inserting some lines in function emailSender:
at line #484:
// BEGIN LINES ADDED BY BIBJET
$fieldsarray["{ADMINNAME}"]= $thissurvey['adminname'];
$fieldsarray["{ADMINEMAIL}"]=$thissurvey['adminemail'];
$fieldsarray["{SURVEYNAME}"]=$thissurvey['name'];
$fieldsarray["{SURVEYDESCRIPTION}"]=$thissurvey['description'];
$fieldsarray["{EXPIRY}"]=$thissurvey["expiry"];
$fieldsarray["{EXPIRY-DMY}"]=date("d-m-Y",strtotime($thissurvey["expiry"]));
$fieldsarray["{EXPIRY-MDY}"]=date("m-d-Y",strtotime($thissurvey["expiry"]));
// END LINES ADDED BY BIBJET

To correct the FROM-field I replaced line #500 (old line-number 491)
$from = $thissurvey['adminemail']; // LINE REPLACED BY BIBJET: $from = $POST['from'.$emrow['language']];

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
BrowserN/A
Database type & versionMySQL 5.0.45
Server OS (if known)OpenSuSe 10.3
Webserver software & version (if known)Apache 2.2.4
PHP VersionPHP 5.2.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

rakete

rakete

2009-07-16 16:34

reporter   ~08872

Thank you for reporting and quick fixing...

I will implement this for the next version..

rakete

rakete

2009-08-03 12:06

reporter   ~09009

done

Issue History

Date Modified Username Field Change
2009-07-07 10:57 user4051 New Issue
2009-07-07 10:57 user4051 Status new => assigned
2009-07-07 10:57 user4051 Assigned To => rakete
2009-07-07 10:57 user4051 Browser => N/A
2009-07-07 10:57 user4051 Database & DB-Version => MySQL 5.0.45
2009-07-07 10:57 user4051 Operating System (Server) => OpenSuSe 10.3
2009-07-07 10:57 user4051 Webserver => Apache 2.2.4
2009-07-07 10:57 user4051 PHP Version => PHP 5.2.6
2009-07-16 16:34 rakete Note Added: 08872
2009-08-03 12:06 rakete Note Added: 09009
2009-08-03 12:06 rakete Status assigned => resolved
2009-08-03 12:06 rakete Fixed in Version => 1.86
2009-08-03 12:06 rakete Resolution open => fixed
2009-08-12 20:57 c_schmitz Status resolved => closed
2011-10-20 18:29 c_schmitz Category RemoteControl => (No Category)