dever 3 سال پیش
والد
کامیت
d0bef852e1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/Subscribe.php

+ 1 - 1
src/Subscribe.php

@@ -238,7 +238,7 @@ class Subscribe
 				$update['name'] = $v['title'];
 				$update['example'] = $v['example'];
 				$update['type'] = $v['type'];
-				$id = Dever::upinto('wechat_applet/subscribe', array('option_project_id' => $project_id, 'option_template_id' => $v['template_id']), $update);
+				$id = Dever::upinto('wechat_applet/subscribe', array('option_project_id' => $project_id, 'option_template_id' => $update['template_id']), $update);
 			}
 		}
 		return array();