diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-07 20:24:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-07 20:24:57 +0000 |
commit | 209f53ca6bd551cdb6002e89a808df14e22b4aca (patch) | |
tree | a1882a33e04676a0e0fd072eeb458b94a6bfde4e /includes | |
parent | b4a05b837482317c971cb3d85ffe89c4573da973 (diff) | |
download | brdo-209f53ca6bd551cdb6002e89a808df14e22b4aca.tar.gz brdo-209f53ca6bd551cdb6002e89a808df14e22b4aca.tar.bz2 |
- small fine-tuning
Diffstat (limited to 'includes')
-rw-r--r-- | includes/user.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/user.inc b/includes/user.inc index d5bfc8524..02038cf9b 100644 --- a/includes/user.inc +++ b/includes/user.inc @@ -125,7 +125,7 @@ function user_gravity($id) { $bonus += $weight / 5; - return ($votes ? ($score + $weight) / $votes + $bonus : 0); + return ($votes ? ($score + $weight) / $votes + $bonus : $bonus); } ?>
\ No newline at end of file |