Skip to content
Permalink
Browse files

EZP-23208: fixed the wrong version check in the async. publishing ezj…

…score func
  • Loading branch information...
dpobel committed Jul 31, 2014
1 parent 097977f commit 1f54b6251a85c3c85e41ece43f35421de9fc0bdb
Showing with 1 addition and 1 deletion.
  1. +1 −1 extension/ezjscore/classes/ezjscserverfunctionspublishingqueue.php
@@ -65,7 +65,7 @@ public static function status( $args )
else
{
$version = eZContentObjectVersion::fetchVersion( $version, $contentObjectId );
if ( $version === null )
if ( !$version )
throw new ezcBaseFunctionalityNotSupportedException( 'status', 'Object version not found' );
else
$return = array( 'status' => 'queued' );

0 comments on commit 1f54b62

Please sign in to comment.
You can’t perform that action at this time.