changeset 916 | 05c341ea7545 |
parent 915 | 91f4da84966f |
child 951 | 745cccc6b97d |
--- a/plugins/admin/Home.php Wed Apr 15 19:44:47 2009 -0400 +++ b/plugins/admin/Home.php Wed Apr 15 19:53:06 2009 -0400 @@ -209,6 +209,8 @@ $db->free_result(); $days_installed = round( (time() / 86400) - ($install_date / 86400) ); + if ( $days_installed < 1 ) + $days_installed = 1; // Comments $q = $db->sql_query('SELECT COUNT(*) FROM ' . table_prefix . "comments");