找到如下代码:
1$inquery = "INSERT INTO `dede_feedback`(`aid`,`typeid`,`username`,`arctitle`,`ip`,`ischeck`,`dtime`, `mid`,`bad`,`good`,`ftype`,`face`,`msg`)2 VALUES ('$aid','$typeid','$username','$arctitle','$ip','$ischeck','$dtime', '{$cfg_ml->M_ID}','0','0','$feedbacktype','$face','$msg'); ";3$rs = $dsql->ExecuteNoneQuery($inquery);
修改为:
1$inquery = "INSERT INTO `dede_feedback`(`aid`,`typeid`,`username`,`arctitle`,`ip`,`ischeck`,`dtime`, `mid`,`bad`,`good`,`ftype`,`face`,`msg`)2VALUES ('$aid','$typeid','$username','$arctitle','$ip','$ischeck','$dtime', '{$cfg_ml->M_ID}','0','0','$feedbacktype','$face','$msg'); ";3$inquery1 = "INSERT INTO `dede_member_pms` (`floginid`,`fromid`,`toid`,`tologinid`,`folder`,`subject`,`sendtime`,`writetime`,`hasview`,`isadmin`,`message`)4VALUES ('admin','1','$mid','$writer','inbox','你的《{$arctitle}》有新的评论','$dtime','$dtime','0','0','{$cfg_ml->M_LoginID}说:{$msg}'); ";5$rs = $dsql->ExecuteNoneQuery($inquery);6$rs = $dsql->ExecuteNoneQuery($inquery1);