projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e216d
)
Use a more appropriate limit here, this was probably a debugging artifact.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 21 Dec 2010 21:03:40 +0000
(16:03 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 21 Dec 2010 21:09:52 +0000
(16:09 -0500)
ansel/lib/Tagger.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Tagger.php
b/ansel/lib/Tagger.php
index
f54a8b7
..
ae7242c
100644
(file)
--- a/
ansel/lib/Tagger.php
+++ b/
ansel/lib/Tagger.php
@@
-368,7
+368,7
@@
class Ansel_Tagger
*/
public function listRelatedImages(Ansel_Image $image, $ownerOnly = true)
{
- $args = array('typeId' => 'image', 'limit' => 1);
+ $args = array('typeId' => 'image', 'limit' => 1
0
);
if ($ownerOnly) {
$gallery = $GLOBALS['injector']->getInstance('Ansel_Injector_Factory_Storage')->create()->getGallery($image->gallery);
$args['userId'] = $gallery->get('owner');