From: Sven Schöling Date: Thu, 3 Jan 2008 13:28:01 +0000 (+0000) Subject: Und noch ein Bugfix. X-Git-Tag: release-2.6.0beta1~381 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0a385d07bccd520784d08cffcf27b0aeb831d862;p=kivitendo-erp.git Und noch ein Bugfix. size/count etc. wurden nicht rihctig exportiert. --- diff --git a/SL/Template/Plugin/MultiColumnIterator.pm b/SL/Template/Plugin/MultiColumnIterator.pm index 71fb565a7..c57a3500b 100644 --- a/SL/Template/Plugin/MultiColumnIterator.pm +++ b/SL/Template/Plugin/MultiColumnIterator.pm @@ -151,43 +151,49 @@ sub dump { sub index { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ INDEX }; $main::lxdebug->leave_sub(); + return $self->{ INDEX }; } sub number { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ NUMBER }; $main::lxdebug->leave_sub(); + return $self->{ NUMBER }; } +sub count { + $main::lxdebug->enter_sub(); + my ($self) = @_; + $main::lxdebug->leave_sub(); + return $self->{ COUNT }; +} sub max { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ MAX }; $main::lxdebug->leave_sub(); + return $self->{ MAX }; } sub size { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ SIZE }; $main::lxdebug->leave_sub(); + return $self->{ SIZE }; } sub first { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ FIRST }; $main::lxdebug->leave_sub(); + return $self->{ FIRST }; } sub last { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ LAST}; $main::lxdebug->leave_sub(); + return $self->{ LAST}; } 1;