Skip to content

Commit

Permalink
Fix "Cannot declare class dokuwiki\Menu\Item\AbstractItem"
Browse files Browse the repository at this point in the history
fix #545
  • Loading branch information
giterlizzi committed Mar 30, 2022
1 parent 30b17e2 commit ef3e01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/inc/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


// Load compatibility Menu classes for pre-Greebo releases
if (DOKU_VERSION < DOKU_VERSION_GREEBO) {
if (DOKU_VERSION > 0 && DOKU_VERSION < DOKU_VERSION_GREEBO) {

define('DOKU_INC_COMPAT', realpath(dirname(__FILE__) . '/../') . '/');

Expand Down

0 comments on commit ef3e01d

Please sign in to comment.