Index: trunk/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r8563 -r8570 --- trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 8563) +++ trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 8570) @@ -350,7 +350,8 @@ { $this->Application->SetVar( $this->getPrefixSpecial().'_id', $list->GetDBField($id_field) ); // for edit/delete links using GET $this->Application->SetVar( $this->Prefix.'_id', $list->GetDBField($id_field) ); - $block_params['is_last'] = ($i == $list->SelectedCount-1); + $block_params['is_last'] = ($i == $list->SelectedCount - 1); + $block_params['not_last'] = !$block_params['is_last']; // for front-end if ($cache_mod_rw) { $this->Application->setCache('filenames', $this->Prefix.'_'.$list->GetDBField($id_field), $list->GetDBField('Filename'));