X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fplugins-dist%2Fmots%2Fmots_administrations.php;fp=www%2Fplugins-dist%2Fmots%2Fmots_administrations.php;h=a54537d42c1f533279d280f431b97caa2b3a49cc;hp=14371a8d1971f4ea3229b32470efd563199f2abd;hb=d18fcb8f27a4016e3fa7b50a9b2255d529dca543;hpb=e847eea4a82a7396dd0abf860f9b30d654f38629 diff --git a/www/plugins-dist/mots/mots_administrations.php b/www/plugins-dist/mots/mots_administrations.php index 14371a8..a54537d 100644 --- a/www/plugins-dist/mots/mots_administrations.php +++ b/www/plugins-dist/mots/mots_administrations.php @@ -27,9 +27,9 @@ function mots_upgrade($nom_meta_base_version,$version_cible){ if (!isset($GLOBALS['meta'][$nom_meta_base_version])){ $trouver_table = charger_fonction('trouver_table','base'); if ($desc = $trouver_table('spip_mots') - AND isset($desc['exist']) + AND isset($desc['exist']) AND $desc['exist'] AND $desc = $trouver_table('spip_mots_articles') - AND isset($desc['exist'])){ + AND isset($desc['exist']) AND $desc['exist']){ ecrire_meta($nom_meta_base_version,'1.0.0'); } // si pas de table en base, on fera une simple creation de base