Ignore:
Timestamp:
Jun 22, 2015, 2:08:29 PM (4 years ago)
Author:
real3t@…
Message:

Inversion de logique qui empêchait l'importation des forums de se faire.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/joomla2spip/trunk/joomla2spip_fonctions.php

    r90408 r90435  
    200200        spip_query($sql);
    201201
     202        include_spip('inc/plugin'); // pour spip_version_compare
    202203        if (spip_version_compare($GLOBALS['spip_version_branche'], '3.0.0', '>=')){
    203204                include_spip('action/editer_article');
     
    242243function forum_import($mon_forum) {
    243244
    244         if (!spip_version_compare($GLOBALS['spip_version_branche'], '3.0.0', '>=')){
     245        include_spip('inc/plugin'); // pour spip_version_compare
     246        if (spip_version_compare($GLOBALS['spip_version_branche'], '3.0.0', '>=')){
    245247                sql_insertq('spip_forum',
    246248                        array('id_objet'=>$mon_forum['id_objet'],
Note: See TracChangeset for help on using the changeset viewer.