Przeglądaj źródła

Merge branch 'master' of http://192.168.1.12:3000/caipin/cld

caipin 8 lat temu
rodzic
commit
e129e05e3d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      protected/controller/ReceiptController.php

+ 1 - 1
protected/controller/ReceiptController.php

@@ -11263,7 +11263,7 @@ class ReceiptController extends DooController {
 		if (! empty ( $receiptDetail )) {
 			Doo::loadModel ( 'staff' );
 			$staff = new staff ();
-			$staffmsg = $staff->getStaffBySid ( $receiptDetail ['staff'] );
+			$staffmsg = $staff->getOne(array('where' => "sid='". $receiptDetail['staff'] ."'", 'asArray' => TRUE));
 			if (! empty ( $staffmsg ['wxid'] )) {
 				require_once (SITE_PATH . '/protected/class/client.php');
 				$client = new client ( 'http://m.cld.smartcost.com.cn/' );