Changeset 301

Show
Ignore:
Timestamp:
04/24/08 13:15:29 (7 months ago)
Author:
kevin
Message:

Fixed typo in notification email message

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • form/form.php

    r288 r301  
    5454                $body = form_save($result->data,$_SESSION['userid'],$preview); 
    5555                $body = '<p>'.$form->response_text.'</p>'.$body; 
    56                 if ($form->notification) { 
    57                     $msg = "Someone has submitted the form '$title'. \n\n" 
     56                /*if ($form->notification) { 
     57                    $msg = "Someone has submitted the form '$title'\n\n" 
    5858                            ."To export the form results or turn form notification off, please login as a site administrator and visit:\n\n" 
    5959                            ."{$CFG->wwwroot}mod/form/index.php"; 
    6060                    $subject = "Form submission for '$title'"; 
    6161                    notify_user($form->owner, $subject, $msg); 
    62                 } 
     62                }*/ 
    6363            } 
    6464        } 
    6565         
    6666        if ($action != 'submit' || $fielderror) {     
    67          
    68         #TODO - enforce access control     
    6967         
    7068            $body = '<p>'.$form->description.'</p>';