Commented out show_mac_address field in model creation
This commit is contained in:
@@ -116,7 +116,7 @@ class ModelsController extends AdminController
|
||||
$model->manufacturer_id = e(Input::get('manufacturer_id'));
|
||||
$model->category_id = e(Input::get('category_id'));
|
||||
$model->user_id = Sentry::getId();
|
||||
$model->show_mac_address = e(Input::get('show_mac_address', '0'));
|
||||
//$model->show_mac_address = e(Input::get('show_mac_address', '0'));
|
||||
|
||||
|
||||
if (Input::file('image')) {
|
||||
@@ -374,8 +374,8 @@ class ModelsController extends AdminController
|
||||
return $view;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public function getCustomFields($modelId)
|
||||
{
|
||||
$model=Model::find($modelId);
|
||||
|
||||
Reference in New Issue
Block a user