|
@@ -514,7 +514,7 @@ if (!function_exists('list_domain_image')) {
|
|
|
function list_domain_image($list, $field)
|
|
|
{
|
|
|
if (!$list || empty($list)) {
|
|
|
- return $list;
|
|
|
+ return '';
|
|
|
}
|
|
|
foreach ($list as $vo => $info) {
|
|
|
$list[$vo] = info_domain_image($info, $field);
|
|
@@ -528,7 +528,7 @@ if (!function_exists('info_domain_image')) {
|
|
|
function info_domain_image($data, $field)
|
|
|
{
|
|
|
if (!$data || empty($data)) {
|
|
|
- return $data;
|
|
|
+ return '';
|
|
|
}
|
|
|
foreach ($data as $key => $val) {
|
|
|
if (in_array($key, $field)) {
|
|
@@ -545,7 +545,7 @@ if (!function_exists('one_domain_image')) {
|
|
|
function one_domain_image($one)
|
|
|
{
|
|
|
if (!$one) {
|
|
|
- return $one;
|
|
|
+ return '';
|
|
|
}
|
|
|
if (strpos($one, ',')){
|
|
|
//逗号隔开的多个图片
|