Revision 640

Date:
2017/03/06 21:26:45
Author:
ahitrov
Revision Log:
Clone attachments procedure now doesn't serialize them.

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/core/comps/contenido/components/clone_attachments.msn

     
    90 90 }
    91 91 }
    92 92 }
    93 $object->$name( $object->_serialize($img) );
    93 $object->$name( $img );
    94 94 warn "\nClone img complete: ".Dumper($img)."\n" if $DEBUG;
    95 95 }
    96 96 } elsif ( $prop->{type} eq 'images' ) {
     
    150 150 }
    151 151 if ( $attachment->{maxnumber} ) {
    152 152 $PICTURE->{maxnumber} = $attachment->{maxnumber};
    153 $object->$name( $object->_serialize($PICTURE) );
    153 $object->$name( $PICTURE );
    154 154 }
    155 155 warn "\nClone pics complete: ".Dumper($PICTURE)."\n" if $DEBUG;
    156 156 } elsif ( $prop->{type} eq 'multimedia_new' ) {
     
    167 167 atext => $attachment->{atext}
    168 168 };
    169 169 }
    170 $object->$name( $object->_serialize($img) );
    170 $object->$name( $img );
    171 171 warn "\nClone binary complete: ".Dumper($img)."\n" if $DEBUG;
    172 172 }
    173 173 }