summaryrefslogtreecommitdiff
path: root/plugins/af_proxy_http/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/af_proxy_http/init.php')
-rw-r--r--plugins/af_proxy_http/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_proxy_http/init.php b/plugins/af_proxy_http/init.php
index 86f5fc8ce..c7cded4c9 100644
--- a/plugins/af_proxy_http/init.php
+++ b/plugins/af_proxy_http/init.php
@@ -29,7 +29,7 @@ class Af_Proxy_Http extends Plugin {
$host->add_hook($host::HOOK_PREFS_TAB, $this);
- if (!$_SESSION['af_proxy_http_token'])
+ if (empty($_SESSION['af_proxy_http_token']))
$_SESSION['af_proxy_http_token'] = bin2hex(get_random_bytes(16));
}