dever hace 3 años
padre
commit
d0bef852e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();