Skip to content

Commit de55f86

Browse files
committed
Use tstamp via placeholder, value was already passed to query().
1 parent f8563e0 commit de55f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/remoting.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function login($username, $password, $client_login = false)
124124
$remote_functions = '';
125125
$tstamp = time() + $this->session_timeout;
126126
$sql = 'INSERT INTO remote_session (remote_session,remote_userid,remote_functions,client_login,tstamp'
127-
.') VALUES (?, ?, ?, 1, $tstamp)';
127+
.') VALUES (?, ?, ?, 1, ?)';
128128
$app->db->query($sql, $remote_session,$remote_userid,$remote_functions,$tstamp);
129129
return $remote_session;
130130
} else {

0 commit comments

Comments
 (0)