摘要: 把phpcms\modules\attachment\attachments.php中将 if(empty($this->userid)){改成 if(empty($_POST['userid'])){因为在提交时$this->userid一定为空,但在调用时用到了$attachment->set_userid($_POST['userid']);而$_POST['userid']即是userid的数据。因此将$this->userid改成$_POST['userid']即可。 阅读全文
posted @ 2013-12-25 11:15 -j神----- 阅读(3072) 评论(0) 推荐(0) 编辑