ErrorException [ Notice ]: Undefined index: name_ru

APPPATH/classes/controller/tutor.php [ 32 ]

27     											->bind('age',$age)
28     											 ;
29     		//$sizechart = array();
30         $tutor =   Model::factory('tutor')->getAccount($id,$this->langID);
31         if($this->langID == 3){
32           $tutor['name'] =  $tutor['name_ru']!='' ? $tutor['name_ru'] : $tutor['name'];
33           $tutor['surname'] =  $tutor['surname_ru']!='' ? $tutor['surname_ru'] : $tutor['surname'];
34         }
35         $accountSubjects =   Model::factory('personal')->getAccountSubjects($id);
36         $subjects =   Model::factory('personal')->getSubjectsID($this->langID);
37         $places =   Model::factory('personal')->placesByID($this->langID);
  1. APPPATH/classes/controller/tutor.php [ 32 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Tutor->action_index()

  3. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 113 ] » Kohana_Request->execute()

Environment