dever %!s(int64=3) %!d(string=hai) anos
pai
achega
d0bef852e1
Modificáronse 1 ficheiros con 1 adicións e 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();