Browse Source

Fixed syntax error in displayLog plugin

cternes 10 years ago
parent
commit
cab94e8d00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/displaylog/index.php

+ 1 - 1
plugins/displaylog/index.php

@@ -37,7 +37,7 @@ if (mysqli_connect_errno()!=0) {
 }
 
 # Result
-$query	= Database::prepare($database, "SELECT FROM_UNIXTIME(time), type, function, line, text FROM ?", [LYCHEE_TABLE_LOG]);
+$query	= Database::prepare($database, "SELECT FROM_UNIXTIME(time), type, function, line, text FROM ?", array(LYCHEE_TABLE_LOG));
 $result	= $database->query($query);
 
 # Output