Marc --

Are you sure about this?  It seems unlikely to me that the 20 or so calls to
get_session that were all working fine before are going to want a CGI
session object instead of what they were already getting.

And that doesn't look like a proper call to the CGI::Session constructor,
compared to the others where we specify the driver and file/filehandle.

--joe

On Thu, Jun 26, 2008 at 4:37 AM, Marc Chantreux <[EMAIL PROTECTED]>
wrote:

> ---
>  C4/Auth.pm |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/C4/Auth.pm b/C4/Auth.pm
> index 92f9c19..83dafb0 100755
> --- a/C4/Auth.pm
> +++ b/C4/Auth.pm
> @@ -1167,7 +1167,9 @@ will be created.
>
>  =cut
>
> -sub get_session { C4::Context->session(shift); }
> +sub get_session {
> +    CGI::Session->new(C4::Context->session(shift));
> +}
>
>  sub checkpw {
>
>
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to