Projet

Général

Profil

Révision 5587145e

Ajouté par Assos Assos il y a presque 7 ans

Update to 7.56

Voir les différences:

drupal7/modules/statistics/statistics.module
245 245
 * Implements hook_cron().
246 246
 */
247 247
function statistics_cron() {
248
  $statistics_timestamp = variable_get('statistics_day_timestamp', '');
248
  $statistics_timestamp = variable_get('statistics_day_timestamp', 0);
249 249

  
250 250
  if ((REQUEST_TIME - $statistics_timestamp) >= 86400) {
251 251
    // Reset day counts.

Formats disponibles : Unified diff