Skip to content

Commit

Permalink
Fix warning on add page
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Apr 4, 2024
1 parent bb58b9d commit 24e92da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion application/src/Controller/SiteAdmin/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ public function addPageAction()
$formData = $form->getData();
$formData['o:site']['o:id'] = $site->id();
$formData['o:is_public'] = !empty($post['o:is_public']);
$formData['o:layout_data']['template_name'] = $post['template_name'];
$response = $this->api($form)->create('site_pages', $formData);
if ($response) {
$page = $response->getContent();
Expand Down

0 comments on commit 24e92da

Please sign in to comment.