summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--computer-time-limit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/computer-time-limit.php b/computer-time-limit.php
index acc3135..12fcfeb 100644
--- a/computer-time-limit.php
+++ b/computer-time-limit.php
@@ -94,7 +94,7 @@ if (array_key_exists('msg', $_POST) && array_key_exists('sig', $_POST)) {
$host = 'NULL';
} else {
$print_host = $host;
- $host = 'from_base64("' . base64_encode($host) . '")';
+ $host = 'unhex(' . "'" . bin2hex($host) . "'" . ')';
}
log_to_file('to_db ' . $key . ' ' . $print_host . ' ' . $von . ' ' . $bis);