projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6938e71
)
Have to pass $ids to getCol()
author
Chuck Hagenbuch
<chuck@horde.org>
Tue, 14 Sep 2010 20:05:29 +0000
(16:05 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Tue, 14 Sep 2010 20:05:29 +0000
(16:05 -0400)
jonah/lib/Driver/Sql.php
patch
|
blob
|
history
diff --git
a/jonah/lib/Driver/Sql.php
b/jonah/lib/Driver/Sql.php
index
2eb2918
..
6454359
100644
(file)
--- a/
jonah/lib/Driver/Sql.php
+++ b/
jonah/lib/Driver/Sql.php
@@
-850,7
+850,7
@@
class Jonah_Driver_Sql extends Jonah_Driver
public function getTagNames($ids)
{
$sql = 'SELECT t.tag_name FROM jonah_tags as t WHERE t.tag_id IN(' . str_repeat('?,', count($ids) - 1) . '?)';
- $tags = $this->_db->getCol($sql);
+ $tags = $this->_db->getCol($sql
, 0, $ids
);
if ($tags instanceof PEAR_Error) {
throw new Jonah_Exception($tags);
}