From: Michael J. Rubinsky Date: Tue, 21 Dec 2010 21:03:40 +0000 (-0500) Subject: Use a more appropriate limit here, this was probably a debugging artifact. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a240fca155914c020be05aa5f68cddf6b9d6cf1a;p=horde.git Use a more appropriate limit here, this was probably a debugging artifact. --- diff --git a/ansel/lib/Tagger.php b/ansel/lib/Tagger.php index f54a8b702..ae7242c45 100644 --- 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' => 10); if ($ownerOnly) { $gallery = $GLOBALS['injector']->getInstance('Ansel_Injector_Factory_Storage')->create()->getGallery($image->gallery); $args['userId'] = $gallery->get('owner');