summaryrefslogtreecommitdiff
path: root/include/sessions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/sessions.php')
-rw-r--r--include/sessions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sessions.php b/include/sessions.php
index 48afd0a8b..605ca9325 100644
--- a/include/sessions.php
+++ b/include/sessions.php
@@ -93,7 +93,7 @@
$sth = \Db::pdo()->prepare("SELECT id FROM ttrss_sessions WHERE id=?");
$sth->execute([$id]);
- if ($row = $sth->fetch()) {
+ if ($sth->fetch()) {
$sth = \Db::pdo()->prepare("UPDATE ttrss_sessions SET data=?, expire=? WHERE id=?");
$sth->execute([$data, $expire, $id]);
} else {