From d9c6a7824212197bf33722ab96482325e9faf34a Mon Sep 17 00:00:00 2001
From: "renater.salaun" <renater.salaun@047e039d-479c-447e-8a29-aa6bf4a09bab>
Date: Thu, 30 Oct 2014 08:22:20 +0000
Subject: [PATCH] Add subject to mail_notice() call

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@52 047e039d-479c-447e-8a29-aa6bf4a09bab
---
 bin/account-manager-web.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/account-manager-web.pl b/bin/account-manager-web.pl
index ce99a54..753ec43 100755
--- a/bin/account-manager-web.pl
+++ b/bin/account-manager-web.pl
@@ -226,6 +226,7 @@ sub respond {
       
    ## Mail notification of admins about the error
    if (@errors_admin) {
+        $self->{'param_out'}{'subject'} = 'Error notification - web interface';
        &IdPAccountManager::Tools::mail_notice('template' => 'templates/mail/notification_generic_error.tt2.eml', 
          		 'data' => $self->{'param_out'});
    }
-- 
GitLab