fix constant check to generate pdf #245

This commit is contained in:
Leo Germani 2019-09-20 10:07:29 -03:00
parent 470f436449
commit 214bc45447
1 changed files with 2 additions and 4 deletions

View File

@ -476,9 +476,7 @@ class Items extends Repository {
}
}
if (defined('TAINACAN_CONTENT_PDF_INDEX_ACTIVED') && TAINACAN_CONTENT_PDF_INDEX_ACTIVED === true) {
$this->generate_index_content( $updated_item );
}
$this->generate_index_content( $updated_item );
}
/**
@ -581,4 +579,4 @@ class Items extends Repository {
}
}
}