--- basic.prepatch/source/runtime/step2.cxx	2006-09-18 09:58:54.000000000 +0100
+++ basic/source/runtime/step2.cxx	2006-09-21 15:48:55.000000000 +0100
@@ -550,7 +550,7 @@ SbxVariable* SbiRuntime::CheckArray( Sbx
 							if ( refTemp )
 							{
 								meth->SetParameters( pPar );
-								SbxVariable* pNew = new SbxMethod( *(SbxMethod*)pMeth );	
+								SbxVariable* pNew = new SbxMethod( *(SbxMethod*)meth );	
 								pElem = pNew; 
 							}
 
