Index: webform2sugar.module
===================================================================
--- webform2sugar.module	(revision 50)
+++ webform2sugar.module	(working copy)
@@ -15,7 +15,7 @@
     	if (!strstr($sugarcrmurl,'http://')) {
     	  $sugarcrmurl = 'http://'.$sugarcrmurl;
     	} 
- 	    $sugarcrmurl .= '/index.php?entryPoint=WebToLeadCapture';
+ 	    $sugarcrmurl .= '/WebToLeadCapture.php';
  	    
     	// combine the sugar parameters
     	$combine = '';
@@ -38,7 +38,7 @@
         watchdog('SugarCRM',$message);  
       }
       else{
-        $message = t('Failed to send request to !url response code was !code',array('url'=>$url,'code'=>$result->code));
+        $message = t('Failed to send request to !url response code was !code',array('!url'=>$url,'!code'=>$result->code));
         watchdog('SugarCRM',$message,WATCHDOG_ERROR);  
       }
   } //End SugarCRM url check.
