杰奇2.4编辑文章出错bug彻底修复方法 杰奇2.4UTF8开源版编辑文章保存报错的修复办法
直接上干货
修改文件: /class/users.php 423行左右
修改前:
if (1 <= $numrows) { $tmpvar = 'Jieqi' . ucfirst($this->basename); ${$this}->basename = new $tmpvar(); ${$this}->basename->setVars($this->db->fetchArray($result)); return `${$this}->basename`; }
修改后:
if (1 <= $numrows) { $tmpvar = 'Jieqi' . ucfirst($this->basename); ${$this->basename} = new $tmpvar(); ${$this->basename}->setVars($this->db->fetchArray($result)); return ${$this->basename}; }