DengTao 8 роки тому
батько
коміт
22d0e1cce4

+ 2 - 1
www/protected/commands/GetKennelDetailWorkCommand.php

@@ -134,8 +134,9 @@ class GetKennelDetailWorkCommand extends CConsoleCommand {
                             $father_info['avatar'] = $tmp['extra']['parents'][0]['pic'];
                         if (isset($tmp['extra']['parents'][1]['pic']))
                             $mother_info['avatar'] = $tmp['extra']['parents'][1]['pic'];
-                        
+
                         $dealPet->father_info = (object)$father_info;
+                        var_dump($dealPet->father_info);exit;
                         $dealPet->mother_info = (object)$mother_info;
                         $dealPet->desc = $tmp['desc'];
                         $dealPet->vaccine_info = array();