[Tickets #9223] Re: Kronolith_Tagger: ensureTypes not recognizing existing types

bugs at horde.org bugs at horde.org
Sun Sep 5 14:36:44 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/9223
------------------------------------------------------------------------------
  Ticket             | 9223
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Kronolith_Tagger: ensureTypes not recognizing existing
                     | types
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2010-09-05 10:36) wrote:

> The db statement is returning an array. I assume this should only be  
> a string?

No, it should be an array, that's why it's in a foreach loop.  That's  
what selectAssoc() is expected to return. type_id should be the key,  
and type_name is the value.  So.... in the loop, $id is the type_id  
and $type is type_name.






More information about the bugs mailing list