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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-09-25 01:21:13 +00:00
parent f3de5a0f0e
commit 4e2f949d74
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ function wp_cron() {
return;
$keys = array_keys( $crons );
if ( $keys[0] > time() )
if ( isset($keys[0]) && $keys[0] > time() )
return;
$schedules = wp_get_schedules();