Index: trunk/kernel/include/image.php =================================================================== diff -u -N -r3476 -r4077 --- trunk/kernel/include/image.php (.../image.php) (revision 3476) +++ trunk/kernel/include/image.php (.../image.php) (revision 4077) @@ -795,7 +795,7 @@ $this->Query_Item($sql); } - function CopyResource($SourceId,$DestId) + function CopyResource($SourceId, $DestId, $main_prefix) { global $pathtoroot; @@ -835,7 +835,7 @@ } } } - parent::CopyResource($SourceId,$DestId); + parent::CopyResource($SourceId, $DestId, $main_prefix); $this->Clear(); $this->LoadResource($DestId); foreach($this->Items as $img)