fix constant check to generate pdf #245
This commit is contained in:
parent
470f436449
commit
214bc45447
|
@ -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 {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue