fix: remove commented line
parent
9a2c6a4c4b
commit
1a5ee2767f
|
@ -60,7 +60,6 @@ class MetaTemplatesController extends AppController
|
|||
if (!is_numeric($template_id)) {
|
||||
throw new NotFoundException(__('Invalid {0} for provided ID.', $this->MetaTemplates->getAlias(), $template_id));
|
||||
}
|
||||
// $metaTemplate = $this->MetaTemplates->get($template_id);
|
||||
$metaTemplate = $this->MetaTemplates->find()->where([
|
||||
'id' => $template_id,
|
||||
'enabled' => 1
|
||||
|
|
Loading…
Reference in New Issue