--- lsrc.helper.php.ORIG	2009-07-08 14:05:21.000000000 +0200
+++ lsrc.helper.php	2009-07-20 14:37:40.000000000 +0200
@@ -705,7 +705,7 @@
 //		foreach($bigarray as $ba)
 //			$this->debugLsrc("wir sind in ".__FUNCTION__." Line ".__LINE__.", OK ".$ba);
 			
-		if (isset($bigarray[0])) $bigarray[0]=$this->removeBOM($bigarray[0]);
+		if (isset($bigarray[0])) $bigarray[0]=removeBOM($bigarray[0]);
 		// Now we try to determine the dataformat of the survey file.
 
 		if (isset($bigarray[1]) && isset($bigarray[4])&& (substr($bigarray[1], 0, 22) == "# SURVEYOR SURVEY DUMP")&& (substr($bigarray[4], 0, 29) == "# http://www.phpsurveyor.org/"))
