[Tickets #12992] Undefined index 'key' in Imap/Client/Socket.php

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Feb 24 16:19:41 UTC 2014


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

Ticket URL: http://bugs.horde.org/ticket/12992
------------------------------------------------------------------------------
  Ticket             | 12992
  Created By         | martin at matuska.org
  Summary            | Undefined index 'key' in Imap/Client/Socket.php
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


martin at matuska.org (2014-02-24 16:19) wrote:

On line #2728 of Imap_Client/lib/Horde/Imap/Client/Socket.php the  
variable $key is unitialized. The foreach statement needs fixing.

-                    foreach ($c_val as $val) {
+                    foreach ($c_val as $key => $val) {

I am submitting this as a git pull request.





More information about the bugs mailing list