Skip to content

Commit

Permalink
Merge pull request #79 from ONLYOFFICE/develop
Browse files Browse the repository at this point in the history
fix: ONLYOFFICE_PLUGIN_VERSION constant in Onlyoffice_Plugin_Document…
  • Loading branch information
LinneyS authored Apr 15, 2024
2 parents 767b834 + 6175961 commit d3ff342
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public static function get_mime_type( $filename ) {
*/
public static function get_onlyoffice_formats() {
$onlyoffice_formats_version = get_site_option( 'onlyoffice-formats-version' );
if ( empty( $onlyoffice_formats_version ) || self::ONLYOFFICE_PLUGIN_VERSION !== $onlyoffice_formats_version ) {
if ( empty( $onlyoffice_formats_version ) || ONLYOFFICE_PLUGIN_VERSION !== $onlyoffice_formats_version ) {
self::init();
}

Expand Down

0 comments on commit d3ff342

Please sign in to comment.