[Tickets #9223] Re: Kronolith_Tagger: ensureTypes not recognizing existing types
bugs at horde.org
bugs at horde.org
Sun Sep 5 19:27:02 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 15:27) wrote:
Here's the export of my table:
CREATE TABLE `rampage_types` (
`type_id` int(10) unsigned NOT NULL auto_increment,
`type_name` varchar(255) NOT NULL,
PRIMARY KEY (`type_id`),
UNIQUE KEY `rampage_objects_type_name` (`type_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
INSERT INTO `rampage_types` (`type_id`, `type_name`) VALUES
(1, 'calendar'),
(2, 'event');
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 )
More information about the bugs
mailing list