[Tickets #14523] Re: Invalid argument supplied for foreach() (gollem/lib/Auth.php)

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Oct 20 20:33:15 UTC 2017


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14523
------------------------------------------------------------------------------
  Ticket             | 14523
  Updated By         | Git Commit <commits at lists.horde.org>
  Summary            | Invalid argument supplied for foreach()
                     | (gollem/lib/Auth.php)
  Queue              | Gollem
  Version            | Git master
  Type               | Bug
  State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Jan Schneider
------------------------------------------------------------------------------


Git Commit <commits at lists.horde.org> (2017-10-20 20:33) wrote:

Changes have been made in Git (FRAMEWORK_5_2):

commit 18fc040ad5312348d34fb99d4611c416f7eb3a65
Author: Jan Schneider <jan at horde.org>
Date:   Fri, 13 Jan 2017 22:04:07 +0100

Try to get rid of "Invalid argument supplied for foreach()" from Gollem.

For one, we have been using an invalid flag for $session->get(). Make  
sure it returns an array.
Besides that, store the passwords array in the session, even if empty.

Bug: 14523

  M lib/Auth.php

https://github.com/horde/gollem/commit/18fc040ad5312348d34fb99d4611c416f7eb3a65





More information about the bugs mailing list