Warning (2): Missing argument 1 for PropertyTypesController::getpropertytype() [APP/controllers/property_types_controller.php, line 193]Code }
function getpropertytype($property_type_id)
PropertyTypesController::getpropertytype() - APP/controllers/property_types_controller.php, line 193
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/properties/photos.ctp, line 13
View::_render() - CORE/cake/libs/view/view.php, line 731
View::render() - CORE/cake/libs/view/view.php, line 426
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Undefined variable: property_type_id [APP/controllers/property_types_controller.php, line 195]Code function getpropertytype($property_type_id)
{
$propertytype= $this->PropertyType->find('first',array('conditions'=>array('PropertyType.id'=>$property_type_id)));
PropertyTypesController::getpropertytype() - APP/controllers/property_types_controller.php, line 195
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/properties/photos.ctp, line 13
View::_render() - CORE/cake/libs/view/view.php, line 731
View::render() - CORE/cake/libs/view/view.php, line 426
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83