summaryrefslogtreecommitdiff
path: root/program/include/session.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/session.inc')
-rw-r--r--program/include/session.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/session.inc b/program/include/session.inc
index a789fd2d7..ef8eb2726 100644
--- a/program/include/session.inc
+++ b/program/include/session.inc
@@ -88,7 +88,7 @@ function sess_write($key, $vars)
VALUES (?, ?, ?, ".$DB->now().", ".$DB->now().")",
$key,
$vars,
- $_SERVER['REMOTE_ADDR']);
+ (string)$_SERVER['REMOTE_ADDR']);
}
return TRUE;