Browse Source

Fixed logging

Tobias Reich 10 years ago
parent
commit
83a7aa196c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/modules/Log.php

+ 1 - 1
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);