Skip to content

Commit

Permalink
change the datatype name(from xrowbildlizenz to xrowimagelicensing)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyuexrow committed Mar 2, 2018
1 parent 419584f commit 0dfdcb6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions content/xrowworkflowhandler.php
Expand Up @@ -39,9 +39,9 @@ function validateInput( $http, &$module, &$class, $object, &$version, $contentOb
$end = self::getDate( $endArray );
}

//This is a special code for xrowbildlizenz Extension!!!!!! - start
//This is a special code for xrowimagelicensing Extension!!!!!! - start
foreach ($contentObjectAttributes as $contentObjectAttributeItem) {
if ($contentObjectAttributeItem->DataTypeString == 'xrowbildlizenz') {
if ($contentObjectAttributeItem->DataTypeString == 'xrowimagelicensing') {
$selectedID = 'ContentObjectAttribute_bildlizenz_selected_' . $contentObjectAttributeItem->ID;
if( $http->hasPostVariable( $selectedID ) && $http->postVariable( $selectedID ) == '0')
{
Expand Down Expand Up @@ -88,7 +88,6 @@ function validateInput( $http, &$module, &$class, $object, &$version, $contentOb
break;
}
}
//end

if ( $start && $start < $now && $doNotValidateStartDate === false )
{
Expand Down Expand Up @@ -183,9 +182,9 @@ function fetchInput( $http, &$module, &$class, $object, &$version, $contentObjec
$row['action'] = serialize( array( 'action' => $action ) );
}

//This is a special code for xrowbildlizenz Extension!!!!!! - start
//This is a special code for xrowimagelicensing Extension!!!!!! - start
foreach ($contentObjectAttributes as $contentObjectAttributeItem) {
if ($contentObjectAttributeItem->DataTypeString == 'xrowbildlizenz') {
if ($contentObjectAttributeItem->DataTypeString == 'xrowimagelicensing') {
$selectedID = 'ContentObjectAttribute_bildlizenz_selected_' . $contentObjectAttributeItem->ID;
if( $http->hasPostVariable( $selectedID ) && $http->postVariable( $selectedID ) == '0' )
{
Expand Down

0 comments on commit 0dfdcb6

Please sign in to comment.