diff options
| author | 2014-04-15 10:10:29 +0200 | |
|---|---|---|
| committer | 2014-04-15 10:10:29 +0200 | |
| commit | 339a12698c07eb466c6a1ab8ffa856d8a8e1f506 (patch) | |
| tree | d599dd61687b5b4ccd5aa07ae5c500533dc4bcef /p/api/greader.php | |
| parent | 951a137f2d05594dd0b61b9d86567cf4e9a12f5a (diff) | |
| parent | bdd7b7b13e6fdcdb9110cbee3618bf2b5fc89b71 (diff) | |
Merge pull request #486 from aledeg/simple-layout
New toggle buttons to filter articles (was: Delete favorite button)
Diffstat (limited to 'p/api/greader.php')
| -rw-r--r-- | p/api/greader.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/p/api/greader.php b/p/api/greader.php index 741c4fbd4..8a8623966 100644 --- a/p/api/greader.php +++ b/p/api/greader.php @@ -353,10 +353,10 @@ function streamContents($path, $include_target, $start_time, $count, $order, $ex switch ($exclude_target) { case 'user/-/state/com.google/read': - $state = 'not_read'; + $state = FreshRSS_Entry::STATE_NOT_READ; break; default: - $state = 'all'; + $state = FreshRSS_Entry::STATE_ALL; break; } @@ -451,10 +451,10 @@ function streamContentsItemsIds($streamId, $start_time, $count, $order, $exclude switch ($exclude_target) { case 'user/-/state/com.google/read': - $state = 'not_read'; + $state = FreshRSS_Entry::STATE_NOT_READ; break; default: - $state = 'all'; + $state = FreshRSS_Entry::STATE_ALL; break; } |
