diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/dblog/dblog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dblog/dblog.module b/modules/dblog/dblog.module index 0dffb75db..04529d64a 100644 --- a/modules/dblog/dblog.module +++ b/modules/dblog/dblog.module @@ -98,7 +98,7 @@ function dblog_init() { function dblog_cron() { // Cleanup the watchdog table $max = db_result(db_query('SELECT MAX(wid) FROM {watchdog}')); - db_query('DELETE FROM {watchdog} WHERE wid < %d', $max - variable_get('dblog_row_limit', 1000)); + db_query('DELETE FROM {watchdog} WHERE wid <= %d', $max - variable_get('dblog_row_limit', 1000)); } /** |