[svn r12199] Fix a mistake with the last commif for this file

skala
Julian Prud'homme 19 years ago
parent c8880251ba
commit 3d6d1e9968
  1. 6
      main/survey/survey_invite.php

@ -245,7 +245,11 @@ function save_invitations($users_array, $invitation_title, $invitation_text, $re
// replacing the **link** part with a valid link for the user
$survey_link = $_configuration['root_web'].$_configuration['code_append'].'survey/'.'fillsurvey.php?course='.$_course['sysCode'].'&invitationcode='.$invitation_code;
$full_invitation_text = $invitation_text . $survey_link;
$full_invitation_text = str_ireplace('**link**', $survey_link ,$invitation_text, $replace_count);
if ($replace_count < 1)
{
$full_invitation_text = $full_invitation_text . $survey_link;
}
// optionally: finding the e-mail of the course user
if (is_numeric($value))

Loading…
Cancel
Save