X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fclavette_www.git;a=blobdiff_plain;f=www%2Fplugins-dist%2Fmots%2Fmots_administrations.php;h=a54537d42c1f533279d280f431b97caa2b3a49cc;hp=14371a8d1971f4ea3229b32470efd563199f2abd;hb=83e62ea97fafb78dde1372b78c1be4c71b5b1b58;hpb=be2c315934c5993ef2c5b9481e99e8de5d967da2 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