Changeset 46639 in spip-zone for _plugins_/spipal


Ignore:
Timestamp:
Apr 12, 2011, 9:30:48 PM (10 years ago)
Author:
esj@…
Message:

Message d'erreur plus informatif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spipal/formulaires/configurer_metas.php

    r45046 r46639  
    8686        $get_infos = charger_fonction('get_infos','plugins');
    8787        $infos = $get_infos($plugin, false, $m[1]);
    88         if (!is_array($infos)) return _T('erreur_plugin_nom_manquant');
     88        if (!is_array($infos))
     89          return _T('erreur_plugin_nom_manquant') . ' ' . $plugin;
    8990        if (isset($infos['erreur'])) return $infos['erreur'][0];
    9091        $prefix = $infos['prefix'];
Note: See TracChangeset for help on using the changeset viewer.