Changeset 51640 in spip-zone


Ignore:
Timestamp:
Sep 20, 2011, 8:48:08 PM (9 years ago)
Author:
eric@…
Message:

N'afficher la noisette d'actualisation des stats que si un depot est chargé

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/svp_stats/trunk/svpstats_pipelines.php

    r49055 r51640  
    99function svpstats_affiche_gauche($flux){
    1010        if ($flux['args']['exec'] == 'depots') {
    11                 $flux['data'] .= recuperer_fond('prive/squelettes/inclure/info_stats', array());
     11                if ($resultats = sql_select('*', 'spip_depots')) {
     12                        $flux['data'] .= recuperer_fond('prive/squelettes/inclure/info_stats', array());
     13                }
    1214        }
    1315        return $flux;
Note: See TracChangeset for help on using the changeset viewer.