Index: branches/dev/data/lib/slib.php
===================================================================
--- branches/dev/data/lib/slib.php	(revision 14161)
+++ branches/dev/data/lib/slib.php	(revision 14632)
@@ -1659,5 +1659,7 @@
 }
 
-/* ¼õÃí´°Î»¥á¡¼¥ëÁ÷¿® */
+/** ¼õÃí´°Î»¥á¡¼¥ëÁ÷¿®
+ *  $template_id ¤¬ 1¡§·ÈÂÓÍÑ¥Æ¥ó¥×¥ì¡¼¥È¡¢0¡§PCÍÑ¥Æ¥ó¥×¥ì¡¼¥È
+ */
 function sfSendOrderMail($order_id, $template_id, $subject = "", $body, $send = true) {
 	global $arrMAILTPLPATH;
@@ -1726,5 +1728,5 @@
     $tmp_subject = ereg_replace( "(\{name\})", $name ,  $tmp_subject );
     
-    if($arrRet[0]['send_type']==1){
+    if($template_id == '1'){
 	   $body = $objMailView->fetch($arrMAILTPLPATH[1]);
        $body = ereg_replace( "(\[\[body\]\])", $body ,  $objPage->tpl_body );
