Merge branch 'dev' of 47.111.118.107:/srv/git/platform into dev

master
ELF 5 years ago
commit 3c909b4a57

@ -107,6 +107,8 @@ unset($_REQUEST['parent_id']);
$v['account'] = trim($v['account']); $v['account'] = trim($v['account']);
if(in_array($v['account'], $oa_data)) { if(in_array($v['account'], $oa_data)) {
M('promote','tab_')->where(['id' => $v['id']])->setField(['oa_associated' => 1]); M('promote','tab_')->where(['id' => $v['id']])->setField(['oa_associated' => 1]);
} else {
M('promote','tab_')->where(['id' => $v['id']])->setField(['oa_associated' => 0]);
} }
} }

Loading…
Cancel
Save