diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-06 17:58:47 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-06 17:58:47 +0200 |
commit | e2381ea22cfd3fc1ab6b6c8e472740005ad02f87 (patch) | |
tree | 1d726d81da2db6b3a063adaa4ef8e0b9e67f242a /db/feedmapper.php | |
parent | 050d866f546f380ad986b6da26e6871a59d17a2b (diff) |
typo fix
Diffstat (limited to 'db/feedmapper.php')
-rw-r--r-- | db/feedmapper.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/db/feedmapper.php b/db/feedmapper.php index ba4b9a5c8..9e371f1f0 100644 --- a/db/feedmapper.php +++ b/db/feedmapper.php @@ -45,8 +45,8 @@ class FeedMapper extends Mapper implements IMapper { 'ON `feeds`.`id` = `items`.`feed_id` ' . // WARNING: this is a desperate attempt at making this query work // because prepared statements dont work. This is a possible - // SQL INJECTION RISK WHEN MODIFIED WITHOUT THOUGH. - // think twice when chaning this + // SQL INJECTION RISK WHEN MODIFIED WITHOUT THOUGHT. + // think twice when changing this 'AND (`items`.`status` & ' . StatusFlag::UNREAD . ') = ' . StatusFlag::UNREAD . ' ' . 'WHERE `feeds`.`id` = ? ' . @@ -83,8 +83,8 @@ class FeedMapper extends Mapper implements IMapper { 'ON `feeds`.`id` = `items`.`feed_id` ' . // WARNING: this is a desperate attempt at making this query work // because prepared statements dont work. This is a possible - // SQL INJECTION RISK WHEN MODIFIED WITHOUT THOUGH. - // think twice when chaning this + // SQL INJECTION RISK WHEN MODIFIED WITHOUT THOUGHT. + // think twice when changing this 'AND (`items`.`status` & ' . StatusFlag::UNREAD . ') = ' . StatusFlag::UNREAD . ' ' . 'WHERE `feeds`.`user_id` = ? ' . @@ -109,8 +109,8 @@ class FeedMapper extends Mapper implements IMapper { 'ON `feeds`.`id` = `items`.`feed_id` ' . // WARNING: this is a desperate attempt at making this query work // because prepared statements dont work. This is a possible - // SQL INJECTION RISK WHEN MODIFIED WITHOUT THOUGH. - // think twice when chaning this + // SQL INJECTION RISK WHEN MODIFIED WITHOUT THOUGHT. + // think twice when changing this 'AND (`items`.`status` & ' . StatusFlag::UNREAD . ') = ' . StatusFlag::UNREAD . ' ' . 'WHERE `feeds`.`url_hash` = ? ' . |