Skip to content

Commit

Permalink
fixup! Fix EZP-26275: Fatal error on invalid ezflow zone/version
Browse files Browse the repository at this point in the history
(cherry picked from commit 4d983e9)
  • Loading branch information
Joao Inacio committed Sep 20, 2016
1 parent 6d176c3 commit 124b0f6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@

$contentObjectAttribute = eZContentObjectAttribute::fetch( $contentObjectAttributeID, $version );
if ( !$contentObjectAttribute )
{
return $module->handleError( eZError::KERNEL_NOT_AVAILABLE, 'kernel' );
}

$page = $contentObjectAttribute->content();
$zone = $page->getZone( $zoneID );
Expand Down

0 comments on commit 124b0f6

Please sign in to comment.