Commit 7a2f473b authored by Patrick Schmalstig's avatar Patrick Schmalstig
Browse files

Fixed MANTIS-6022 (sources/hooks/modules/admin_setupwizard/catalogues.php:...

Fixed MANTIS-6022 (sources/hooks/modules/admin_setupwizard/catalogues.php: Undefined constant "C_DT_FIELDMAPS")
parent c80e8b82
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ function init__catalogues()
    global $CAT_FIELDS_CACHE;
    $CAT_FIELDS_CACHE = [];

    // We do not actually necessarily use these constants in the code (they're based on an extensive of an old BINARY field): but they're here for reference so as to understand the codes
    if (!defined('C_DT_FIELDMAPS')) {
        define('C_DT_FIELDMAPS', 0);
        define('C_DT_TITLELIST', 1);
+1 −0
Original line number Diff line number Diff line
@@ -855,6 +855,7 @@ class Hook_addon_registry_catalogues
    {
        if ((($content === null) || (in_array('have_default_catalogues_projects', $content))) && (!has_predefined_content('catalogues', 'have_default_catalogues_projects'))) {
            require_lang('catalogues');
            require_code('catalogues'); // Needed for the constants
            require_code('permissions2');
            require_code('catalogues2');
            require_code('lang3');