dever 6 سال پیش
والد
کامیت
b53eba393c
1فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 7 7
      applet/src/Msg.php

+ 7 - 7
applet/src/Msg.php

@@ -33,11 +33,11 @@ class Msg
 				}
 
 				$where = array();
-				$where['msg_id'] = $info['id'];
-				$where['touser'] = $update['touser'];
-				$where['data'] = $update['data'];
-				$where['form_id'] = $update['form_id'];
-				$where['page'] = $update['page'];
+				$where['option_msg_id'] = $info['id'];
+				$where['option_touser'] = $update['touser'];
+				$where['option_data'] = $update['data'];
+				$where['option_form_id'] = $update['form_id'];
+				$where['option_page'] = $update['page'];
 
 				$id = Dever::upinto('applet/msg_log', $where, $update);
 
@@ -74,8 +74,8 @@ class Msg
 			$update['form_id'] = Dever::input('form_id');
 
 			$where = array();
-			$where['project_id'] = $info['project_id'];
-			$where['form_id'] = $update['form_id'];
+			$where['option_project_id'] = $info['project_id'];
+			$where['option_form_id'] = $update['form_id'];
 
 			$id = Dever::upinto('applet/msg_form', $where, $update);
 		}