Skip to content

Commit

Permalink
Disable loading block from users draft as it crashes in eZ Publish 5
Browse files Browse the repository at this point in the history
  • Loading branch information
nervetattoo committed Aug 8, 2013
1 parent 230c4de commit cee3c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KTQ/Bundle/eZExceedBundle/Model/Pencil.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ protected function addLocation( Location $location )
protected function addBlock(Block $block)
{
$this->pageField = $this->getPageField();
$this->block = $this->fetchBlockFromLatestUserDraft( $block );
$this->block = $block;
$this->setZoneIndex();

$blockItems = $this->pageService->getValidBlockItems( $block );
Expand Down

0 comments on commit cee3c18

Please sign in to comment.