Revision 139

Date:
2011/09/14 12:54:00
Author:
ahitrov
Revision Log:
HASH BY Bug
Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/core/lib/Contenido/Keeper.pm

     
    312 312 $item->post_init($opts);
    313 313 $self->set_object_to_cache($item, 30, $opts) if ($opts->{with_cache});
    314 314 $total++;
    315 if ( exists $item->{$hash_by} && $item->{$hash_by} ) {
    316 $items{$item->{$hash_by}} = $item;
    315 if ( exists $item->{$hash_by} && defined $item->{$hash_by} ) {
    316 $items{$item->{$hash_by}} = $item;
    317 317 } else {
    318 $log->warning( "Can not HASH BY parameter [$hash_by]. It doesn't exists in row or the field is empty");
    318 $log->warning( "Can not HASH BY parameter [$hash_by]. It doesn't exists in row or the field is empty");
    319 319 }
    320 320 }
    321 321 }