From 3cd2e1676693c71b7dc349aac1ad7e4f818223b2 Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 4 Nov 2013 13:27:32 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96RIS=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/module/Reference/RisOutput.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/module/Reference/RisOutput.php b/application/module/Reference/RisOutput.php index 0a95d24d..44b7151f 100644 --- a/application/module/Reference/RisOutput.php +++ b/application/module/Reference/RisOutput.php @@ -56,7 +56,7 @@ class RisOutput { if($mode == "all") { - $sql = "SELECT * FROM {$this->table->reference} where length(ris)<10 ORDER BY year DESC,title ASC,id ASC"; + $sql = "SELECT * FROM {$this->table->reference} where length(ris)<10 or ris is null ORDER BY year DESC,title ASC,id ASC"; $rs = $this->db->query($sql); return $rs->fetchAll(); }