Fixed syntax error in displayLog plugin

This commit is contained in:
cternes 2014-08-30 07:22:44 +02:00
parent d4a8b77023
commit cab94e8d00

View File

@ -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