[Tickets #13157] Re: Subscriptions to folders with names consisting only of digits does not work.

noreply at bugs.horde.org noreply at bugs.horde.org
Thu May 29 23:48:09 UTC 2014


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

Ticket URL: http://bugs.horde.org/ticket/13157
------------------------------------------------------------------------------
  Ticket             | 13157
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Subscriptions to folders with names consisting only of
                     | digits does not work.
  Queue              | IMP
  Version            | 6.1.7
  Type               | Bug
-State              | Feedback
+State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
-Owners             |
+Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2014-05-29 17:48) wrote:

> I did not include it in my previous update, but I really think that it has to
> do with the parsing.

Nope.  We parse everything as string values.

It was an issue with PHP's array_merge().  It automatically reindexes  
array keys that are *numeric* ... meaning it disregards the current  
variable type.  The documentation is not clear about this (it uses the  
term "numeric" without defining it).  So we need to use the '+'  
operator instead to avoid this behavior.





More information about the bugs mailing list