|
@@ -206,8 +206,12 @@ class Api
|
|
|
$option[$v]['checked'] = true;
|
|
|
}
|
|
|
} else {
|
|
|
- $temp = explode('$$$', $v);
|
|
|
- $option[$total]['checked'] = $temp[1];
|
|
|
+ if (strstr($v, '$$$')) {
|
|
|
+ $temp = explode('$$$', $v);
|
|
|
+ $v = $temp[1];
|
|
|
+ }
|
|
|
+
|
|
|
+ $option[$total]['checked'] = $v;
|
|
|
}
|
|
|
}
|
|
|
return $option;
|