Summary | Notice: Undefined index: count in /Block/cloud.php |
Queue | Ansel |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | horde (at) smartsector (dot) hu |
Created | 01/26/2009 (6001 days ago) |
Due | |
Updated | 01/26/2009 (6001 days ago) |
Assigned | 01/26/2009 (6001 days ago) |
Resolved | 01/26/2009 (6001 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
config/prefs.php.dist was missing the params array.
Fixed, and thanks for reporting.
http://cvs.horde.org/diff.php/ansel/config/prefs.php.dist?rt=horde&r1=1.71&r2=1.72&ty=u
Array ( )
I recive this error message after install.
parameter. The only way that you would get an undefined index error
on 'count' would be if the block was not properly configured.
$_params['count'] is the user-configured maximum number of tags to
return - and should default to '20' according to the code.
State ⇒ Feedback
Assigned to Michael Rubinsky
parameter. The only way that you would get an undefined index error on
'count' would be if the block was not properly configured.
$_params['count'] is the user-configured maximum number of tags to
return - and should default to '20' according to the code.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Notice: Undefined index: count in /Block/cloud.php
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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']);