aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Context.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Context.php')
-rw-r--r--app/Models/Context.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Models/Context.php b/app/Models/Context.php
index ce24c8e4c..55607f5c4 100644
--- a/app/Models/Context.php
+++ b/app/Models/Context.php
@@ -43,6 +43,7 @@ class FreshRSS_Context {
public static $state = 0;
public static $order = 'DESC';
public static $number = 0;
+ /** @var FreshRSS_BooleanSearch */
public static $search;
public static $first_id = '';
public static $next_id = '';
@@ -114,6 +115,8 @@ class FreshRSS_Context {
return false;
}
+ FreshRSS_Context::$search = new FreshRSS_BooleanSearch('');
+
//Legacy
$oldEntries = (int)FreshRSS_Context::$user_conf->param('old_entries', 0);
$keepMin = (int)FreshRSS_Context::$user_conf->param('keep_history_default', -5);