Revision 530
- Date:
- 2015/11/26 14:25:02
- Files:
Legend:
- Added
- Removed
- Modified
-
utf8/core/lib/Contenido/Object.pm
674 674 } 675 675 } 676 676 } 677 } elsif ( $prop->{type} eq 'multimedia_multi' ) { 678 for ( 1..100 ) { 679 next unless exists $att->{"file_$_"}; 680 my $file = $att->{"file_$_"}; 681 if ( ref $file && exists $file->{filename} && $file->{filename} ) { 682 Contenido::File::remove( $file->{filename} ); 683 } 684 } 685 677 } elsif ( $prop->{type} eq 'multimedia_new' ) { 686 678 if ( ref $att && exists $att->{filename} && $att->{filename} ) { 687 679 Contenido::File::remove( $att->{filename} );