author | Dan |
Wed, 15 Apr 2009 19:53:06 -0400 | |
changeset 916 | 05c341ea7545 |
parent 915 | 91f4da84966f |
child 917 | 64cf017a22f1 |
child 918 | 1064e7e57eeb |
--- 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");