Fixed Warning: htmlentities() expects parameter 1 (#159)
This commit is contained in:
parent
404b519747
commit
c76d781766
@ -43,7 +43,7 @@ if ($result === FALSE) {
|
||||
while ( $row = $result->fetch_row() ) {
|
||||
|
||||
# Encode result before printing
|
||||
htmlentities($row);
|
||||
$row = array_map("htmlentities", $row);
|
||||
|
||||
# Format: time TZ - type - function(line) - text
|
||||
printf ("%s %s - %s - %s (%s) \t- %s\n", $row[0], date_default_timezone_get(), $row[1], $row[2], $row[3], $row[4]);
|
||||
|
Loading…
Reference in New Issue
Block a user