|
@@ -112,8 +112,8 @@ class GetKennelDetailWorkCommand extends CConsoleCommand {
|
|
|
$pic = array();
|
|
|
$size = CommonFn::getPicSize($v);
|
|
|
if (isset($size['width']) && isset($size['height'])) {
|
|
|
- $pic[$key]['width'] = intval($size['width']);
|
|
|
- $pic[$key]['height'] = intval($size['height']);
|
|
|
+ $pic['width'] = intval($size['width']);
|
|
|
+ $pic['height'] = intval($size['height']);
|
|
|
}
|
|
|
|
|
|
$pic['url'] = $v;
|