Fixed logging

This commit is contained in:
Tobias Reich 2014-05-13 22:10:04 +02:00
parent d31f0831d4
commit 83a7aa196c

View File

@ -37,7 +37,7 @@ class Log extends Module {
$sysstamp = time(); $sysstamp = time();
# Escape # Escape
$type = mysqli_real_escape_string($type, $function); $type = mysqli_real_escape_string($database, $type);
$function = mysqli_real_escape_string($database, $function); $function = mysqli_real_escape_string($database, $function);
$line = mysqli_real_escape_string($database, $line); $line = mysqli_real_escape_string($database, $line);
$text = mysqli_real_escape_string($database, $text); $text = mysqli_real_escape_string($database, $text);