From 24e610fb856f8b3870dff9d8d6087143efba6cec Mon Sep 17 00:00:00 2001 From: hujiabin Date: Fri, 11 Nov 2022 13:52:36 +0800 Subject: [PATCH] 1 --- webapp/models/ChipPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/models/ChipPlugin.php b/webapp/models/ChipPlugin.php index 496c0d6e..3ffaf2e6 100644 --- a/webapp/models/ChipPlugin.php +++ b/webapp/models/ChipPlugin.php @@ -20,11 +20,11 @@ class ChipPlugin extends BaseModel ) ); if ($row){ - $temp = array( + $chips = array( $row['chip1'],$row['chip2'],$row['chip3'],$row['chip4'] ); // $chips = array_filter($temp); } - return implode('|',$temp); + return implode('|',$chips); } } \ No newline at end of file