Procházet zdrojové kódy

Merge branch 'FreshRSS/dev' into dev

Alexandre Alapetite před 11 roky
rodič
revize
ed811431a5
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 2 0
      CHANGELOG.md
  2. 1 1
      app/Models/EntryDAO.php

+ 2 - 0
CHANGELOG.md

@@ -13,6 +13,8 @@
 	* Support for internationalized domain name (IDN).
 * API
 	* Work-around for News+ bug when there is no unread article on the server.
+* UI
+	* New confirmation message when leaving a configuration page without saving the changes.
 * Bug fixing
 	* Corrected bug introduced in previous beta about handling of HTTP 301 (feeds that have changed address) 
 	* Corrected bug in FreshRSS RSS feeds.

+ 1 - 1
app/Models/EntryDAO.php

@@ -511,7 +511,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
 			$where .= 'AND e1.id >= ' . $date_min . '000000 ';
 		}
 		$search = '';
-		if ($filter !== null) {
+		if ($filter) {
 			if ($filter->getIntitle()) {
 				$search .= 'AND e1.title LIKE ? ';
 				$values[] = "%{$filter->getIntitle()}%";