ErrorException [ Notice ]: Undefined offset: 0

APPPATH/classes/Model/Mkduo.php [ 268 ]

263         $query = DB::select('*')
264                     ->from($this->_tech_table)
265                     ->where('id', '=', $tehId)
266                     ->execute()
267                     ->as_array();
268         return $query[0];
269     }
270 
271     /**
272      * Планируемые работы (услуги) на год
273      * @param $mkd1cid
  1. APPPATH/classes/Model/Mkduo.php [ 268 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Kohana/Service.php [ 51 ] » Model_Mkduo->getTechnic(arguments)

  3. APPPATH/classes/Controller/Mkd.php [ 41 ] » Kohana_Service::getMkdInfo(arguments)

  4. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Mkd->action_view()

  5. {PHP internal call} » Kohana_Controller->execute()

  6. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  7. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  8. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)

  9. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment