更新了postgresql数组到php数组的简易拆分,之前的版本容易误伤
This commit is contained in:
parent
2bbd5013ad
commit
219ff85920
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue