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

bugs at horde.org bugs at horde.org
Sun Sep 5 20:57:04 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         | hordetest at trash-mail.com
  Summary            | Kronolith_Tagger: ensureTypes not recognizing existing
                     | types
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


hordetest at trash-mail.com (2010-09-05 16:57) 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" }

Here is the dump I get. I am using mysql
array(2) { [0]=>  array(1) { [1]=>  string(8) "calendar" } [1]=>   
array(1) { [2]=>  string(5) "event" } }






More information about the bugs mailing list