aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Search.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2015-02-21 09:42:06 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2015-02-21 09:46:25 -0500
commit50b6a02578c29c780e6fe36af712bdc7cfe81d3d (patch)
tree0416d5164a63ad4a0e4caa1adf689c7cccc7f071 /app/Models/Search.php
parent115612959302fc51c4720b7a954bf8cbe1b14f3b (diff)
Add search default raw value
Before, the default value was undefined. Now it always has a value even when no value is provided.
Diffstat (limited to 'app/Models/Search.php')
-rw-r--r--app/Models/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Search.php b/app/Models/Search.php
index a22e242af..85340ff13 100644
--- a/app/Models/Search.php
+++ b/app/Models/Search.php
@@ -11,7 +11,7 @@ require_once(LIB_PATH . '/lib_date.php');
class FreshRSS_Search {
// This contains the user input string
- private $raw_input;
+ private $raw_input = '';
// The following properties are extracted from the raw input
private $intitle;
private $min_date;