Make WordPress Core

Changeset 4221


Ignore:
Timestamp:
09/25/2006 01:21:13 AM (18 years ago)
Author:
ryan
Message:

Check if isset to avoid warning. Props Alex King. fixes #3160

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/cron.php

    r4189 r4221  
    103103
    104104    $keys = array_keys( $crons );
    105     if ( $keys[0] > time() )
     105    if ( isset($keys[0]) && $keys[0] > time() )
    106106        return;
    107107
Note: See TracChangeset for help on using the changeset viewer.