Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tiny Tiny RSS
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Server
Tiny Tiny RSS
Commits
09be7cdd
Commit
09be7cdd
authored
Jan 02, 2018
by
immanuelfodor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
binding statement named param instead of positional replacement
parent
2395dc3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
classes/digest.php
classes/digest.php
+5
-3
No files found.
classes/digest.php
View file @
09be7cdd
...
...
@@ -132,12 +132,14 @@ class Digest
ref_id = ttrss_entries.id AND feed_id = ttrss_feeds.id
AND include_in_digest = true
AND
$interval_qpart
AND ttrss_user_entries.owner_uid =
?
AND ttrss_user_entries.owner_uid =
:user_id
AND unread = true
AND score >= 0
ORDER BY ttrss_feed_categories.title, ttrss_feeds.title, score DESC, date_updated DESC
LIMIT ?"
);
$sth
->
execute
([
$user_id
,
$limit
]);
LIMIT :limit"
);
$sth
->
bindParam
(
':user_id'
,
intval
(
$user_id
,
10
),
\PDO
::
PARAM_INT
);
$sth
->
bindParam
(
':limit'
,
intval
(
$limit
,
10
),
\PDO
::
PARAM_INT
);
$sth
->
execute
();
$headlines_count
=
0
;
$headlines
=
array
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment