From 83a7aa196cfccd976f699c229eee4c6493bad48d Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Tue, 13 May 2014 22:10:04 +0200 Subject: [PATCH] Fixed logging --- php/modules/Log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);