Skip to content
Snippets Groups Projects
Commit de55f865 authored by Helmo's avatar Helmo
Browse files

Use tstamp via placeholder, value was already passed to query().

parent f8563e03
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ class remoting {
$remote_functions = '';
$tstamp = time() + $this->session_timeout;
$sql = 'INSERT INTO remote_session (remote_session,remote_userid,remote_functions,client_login,tstamp'
.') VALUES (?, ?, ?, 1, $tstamp)';
.') VALUES (?, ?, ?, 1, ?)';
$app->db->query($sql, $remote_session,$remote_userid,$remote_functions,$tstamp);
return $remote_session;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment