Skip to content

Commit

Permalink
test bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish committed Jun 13, 2023
1 parent 6a58cdf commit 8c215d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/GalleryImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function getCMSFields()
));
$image = $fields->dataFieldByName('Image')
->setFolderName('Uploads/Elements/PhotoGallery/');
$fields->insertBefore($image, 'Content');
$fields->insertBefore('Content',$image);

// so if anything depends on PageLink it doesn't flake out
$fields->replaceField('PageLink', new LiteralField('PageLink', ''));
Expand Down

0 comments on commit 8c215d4

Please sign in to comment.