Permalink
Browse files

make sure cron script can run for the root blog too

  • Loading branch information...
1 parent e9cb0da commit 67512b9abe321edb26b9e5ed7345a4108ea67778 Ryan Nagle committed Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-scripts/cron.php
View
@@ -19,7 +19,7 @@
$offset = $start_idx;
$length = (!empty($end_idx))? $end_idx - $start_idx:null;
- $query = "select blog_id from wp_blogs where blog_id > 1";
+ $query = "select blog_id from wp_blogs where blog_id >= 1";
$results = array_slice(
$wpdb->get_results($query, 'ARRAY_A'), $offset, $length);

0 comments on commit 67512b9

Please sign in to comment.