aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 81c5f6009..6488bec6b 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -423,7 +423,7 @@ function pwg_log($image_id = null, $image_type = null)
{
$do_log = false;
}
- if ($user['is_the_guest'] and !$conf['history_guest'])
+ if (is_a_guest() and !$conf['history_guest'])
{
$do_log = false;
}