From 90dc78932ebf75df100b2a813aba1de119977740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20OUDOT?= Date: Fri, 27 Apr 2018 15:57:07 +0200 Subject: [PATCH] Fix error on undefined object method (#1413) --- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm index b4a04d09f..c17c98993 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm @@ -148,7 +148,7 @@ sub _buildAuthLoop { # Default URL if ( defined $url - and not $self->p->checkXSSAttack( + and not $self->checkXSSAttack( 'URI', $req->env->{'REQUEST_URI'} ) )