projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
104e319
)
Use the type_id since we already have it, avoid unnecessary db hits.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 27 May 2010 21:50:50 +0000
(17:50 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 27 May 2010 21:50:50 +0000
(17:50 -0400)
kronolith/lib/Tagger.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Tagger.php
b/kronolith/lib/Tagger.php
index
1733d93
..
8091d26
100644
(file)
--- a/
kronolith/lib/Tagger.php
+++ b/
kronolith/lib/Tagger.php
@@
-81,7
+81,7
@@
class Kronolith_Tagger
}
$tags = array();
foreach ($localId as $id) {
- $tags = $tags + $this->_tagger->getTags(array('objectId' => array('object' => $id, 'type' => $t
ype
)));
+ $tags = $tags + $this->_tagger->getTags(array('objectId' => array('object' => $id, 'type' => $t
his->_type_ids[$type]
)));
}
return $tags;