diff --git a/php/modules/Log.php b/php/modules/Log.php index 4856736..00f06b8 100644 --- a/php/modules/Log.php +++ b/php/modules/Log.php @@ -37,7 +37,7 @@ class Log extends Module { $sysstamp = time(); # Escape - $type = mysqli_real_escape_string($type, $function); + $type = mysqli_real_escape_string($database, $type); $function = mysqli_real_escape_string($database, $function); $line = mysqli_real_escape_string($database, $line); $text = mysqli_real_escape_string($database, $text);