1.3K Star 6.4K Fork 2.2K

GVPKarson / FastAdmin

 / 详情

/application/common/controller/Backend.php 里的一个BUG

已完成
创建于  
2018-05-22 20:09

[https://gitee.com/karson/fastadmin/blob/master/application/common/controller/Backend.php#L304]

$where[] = "FIND_IN_SET('{$v}', `{$k}`)";

如果$k有表别名,例如 my.ids,则会出现mysql错误,这句应该改成

$where[] = "FIND_IN_SET('{$v}', `".str_replace('.', '`.`', $k)."`)";

评论 (1)

moufer 创建了任务

@moufer 此BUG已经修复。

Karson 关闭了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
10933 karson 1578914737 115699 moufer 1578918207
PHP
1
https://gitee.com/karson/fastadmin.git
git@gitee.com:karson/fastadmin.git
karson
fastadmin
FastAdmin

搜索帮助

344bd9b3 5694891 D2dac590 5694891