Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #53 from apility/develop
Browse files Browse the repository at this point in the history
v1.0.12
  • Loading branch information
thomas-alrek authored Jun 24, 2019
2 parents 3b50bc2 + 98bc308 commit d75c98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagefinder/preview_entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
$previewmode = 1;

NF::$site->loadGlobals();
$structure = json_decode(NF::$capi->get('builder/structures/' . $entry['directory_id'])->getBody(), true);
$structure = json_decode(NF::$capi->get('builder/structures/' . $entry['directory_id'] . '/basic')->getBody(), true);

NF::$site->loadPage($structure['canonical_page_id'], NULL);

Expand Down

0 comments on commit d75c98e

Please sign in to comment.