Support » Plugin: Chained Quiz » I think i found a small bug in mailsubject

  • Resolved Moopix


    while trying to get it right as i would like to have it i found that the {{quiz-title}} in the subject does noet get replaced properly …

    It turns out in the quiz.php there’s one pair of {} too many.
    At least when i stripped one it works as supposed so i guess it’s an issue.

    this is also the case with the mail_admin

    I am in no way a php programmer, though have 15 yrs of programming experience somewhere in the last century 🙂

    if(!empty($quiz->email_user)) {
    $subject = stripslashes(get_option(‘chained_user_subject’));
    $subject = str_replace(‘{{{quiz-name}}}‘, stripslashes($quiz->title), $subject);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘I think i found a small bug in mailsubject’ is closed to new replies.