From 219ff8592001a37a3e1908e751c4727471b527b6 Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 8 May 2013 05:42:57 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86postgresql=E6=95=B0?= =?UTF-8?q?=E7=BB=84=E5=88=B0php=E6=95=B0=E7=BB=84=E7=9A=84=E7=AE=80?= =?UTF-8?q?=E6=98=93=E6=8B=86=E5=88=86=EF=BC=8C=E4=B9=8B=E5=89=8D=E7=9A=84?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=AE=B9=E6=98=93=E8=AF=AF=E4=BC=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/data/Doi.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/models/data/Doi.php b/application/models/data/Doi.php index b39f99a6..77b92a71 100644 --- a/application/models/data/Doi.php +++ b/application/models/data/Doi.php @@ -117,10 +117,10 @@ class Doi extends Zend_Controller_Plugin_Abstract } function array_split($a){ - $a = str_replace("{",'',$a); - $a = str_replace("}",'',$a); - $a = explode(",",$a); - return $a; + /*$a = str_replace("{",'',$a); + $a = str_replace("}",'',$a); + $a = explode(",",$a); */ + return $explode(',',substr($a,1,-1)); } function view($id)