small bugfix, had a wrong name for a variable
[e-DoKo.git] / db.php
diff --git a/db.php b/db.php
index fde7ab67cb9e5c8bf6571a3e6a95f9db8a5c3c30..f8937486685eff28431f2d59f648cc056d13fba8 100644 (file)
--- a/db.php
+++ b/db.php
@@ -267,7 +267,7 @@ function DB_set_solo_by_hash($me,$solo)
   return;
 }
 
-function DB_set_sickness_by_hash($me,$sickness)
+function DB_set_sickness_by_hash($hash,$sickness)
 {
   mysql_query("UPDATE Hand SET sickness=".DB_quote_smart($sickness)." WHERE hash=".DB_quote_smart($hash));
   return;