From 200f722a95d81cea0c8f3f097b838d4ee81bd09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Oudot?= Date: Tue, 21 Jun 2011 10:06:51 +0000 Subject: [PATCH] Decode notification reference in File backend getAll subroutine (#331) --- .../lib/Lemonldap/NG/Portal/Notification/File.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Notification/File.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Notification/File.pm index eeed004de..14b1616db 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Notification/File.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Notification/File.pm @@ -8,7 +8,7 @@ package Lemonldap::NG::Portal::Notification::File; use strict; use MIME::Base64; -our $VERSION = '1.0.0'; +our $VERSION = '1.1.0'; ## @method boolean prereq() # Check if parameters are set and if storage directory exists. @@ -74,7 +74,7 @@ sub getAll { @notif = grep /^\S*\.xml$/, readdir(D); my %h = map { /^(\d{8})_([^\s_]+)_([^\s_]+)\.xml$/ - ? ( $_ => { date => $1, uid => $2, ref => $3 } ) + ? ( $_ => { date => $1, uid => $2, ref => decode_base64($3) } ) : () } @notif; return \%h;