[Tickets #7894] Notice: Undefined index: count in /Block/cloud.php

bugs at horde.org bugs at horde.org
Mon Jan 26 15:06:44 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7894
------------------------------------------------------------------------------
  Ticket             | 7894
  Created By         | horde at smartsector.hu
  Summary            | Notice: Undefined index: count in /Block/cloud.php
  Queue              | Ansel
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


horde at smartsector.hu (2009-01-26 10:06) wrote:

Jsut a small notice:
Notice: Undefined index: count in  
/usr/share/horde3/ansel/lib/Block/cloud.php on line 45

it happen only if we do not have any single tag.

version:
  * $Horde: ansel/lib/Block/cloud.php,v 1.15 2009-01-06 17:48:52 jan Exp $

I made a patch for this.

old one:
         $tags = Ansel_Tags::listTagInfo(null, $this->_params['count']);

new:
         $tags=array();
         if (!empty($this->_params['count']))
           $tags = Ansel_Tags::listTagInfo(null, $this->_params['count']);








More information about the bugs mailing list