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

bugs at horde.org bugs at horde.org
Sun Sep 5 20:08:32 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 16:08) wrote:

> The result of the db-statement is:
> Array ( [0] => Array ( [1] => calendar ) [1] => Array ( [2] => event ) )
> -> $id=0; $type=Array ( [1] => calendar )
> -> $id=1; $ype=Array ( [2] => event )

Sorry to belabor the point, but this is the output of:

             var_dump($this->_db->selectAssoc('SELECT type_id,  
type_name FROM ' . $this->_t('types') . ' WHERE type_name IN  
('.implode(',', array_map(array($this->_db, 'quote'),  
array_keys($typeName))).')'));

?

When I dump that, I (correctly) get:


array(2) { [1]=>  string(8) "calendar" [2]=>  string(5) "event" }






More information about the bugs mailing list