问题文件:
         /app/admin/question.php   100行
问题代码:
       implode(' AND ', $where)  
$where 为定义或NULL时,报错。
在
代码
if ($question_list = $this->model('question')->fetch_page('question', implode(' AND ', $where), 'question_id DESC', $_GET['page'], $this->per_page))
上面 增加对 $where 的检测
        if($where === NULL){
            $where = array();
        }
                                                                
                                     阅读全文
                                
                                
                                     收起全文