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

bugs at horde.org bugs at horde.org
Sat Sep 4 23:06:07 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         | test 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             |
------------------------------------------------------------------------------


test at horde.org (2010-09-04 19:06) wrote:

The issue comes from the Content_Types_Manager class, Function  
ensureTypes. If I change the coding from "if (is_int($type)" to "if  
(is_int($typeIndex))" everything works fine.

My database looks like this:
type_id 	type_name
1 	calendar
2 	event







More information about the bugs mailing list