[icinga-checkins] icinga.org: icingaweb2/bugfix/ preferences-and-navigation-items-stored-in-ini-files-rely-on-case-sensitive-usernames-11051 : FilterExpression: provide default value for setCaseSensitive()

git at icinga.org git at icinga.org
Thu Feb 11 13:34:59 CET 2016


Module: icingaweb2
Branch: bugfix/preferences-and-navigation-items-stored-in-ini-files-rely-on-case-sensitive-usernames-11051
Commit: 8493540f4302e94785db65edb65f4905ec10c25b
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=8493540f4302e94785db65edb65f4905ec10c25b

Author: Alexander A. Klimov <alexander.klimov at netways.de>
Date:   Thu Feb 11 13:32:42 2016 +0100

FilterExpression: provide default value for setCaseSensitive()

refs #11051

---

 library/Icinga/Data/Filter/FilterExpression.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Icinga/Data/Filter/FilterExpression.php b/library/Icinga/Data/Filter/FilterExpression.php
index c4449e5..ad6105c 100644
--- a/library/Icinga/Data/Filter/FilterExpression.php
+++ b/library/Icinga/Data/Filter/FilterExpression.php
@@ -94,7 +94,7 @@ class FilterExpression extends Filter
      *
      * @return $this
      */
-    public function setCaseSensitive($caseSensitive)
+    public function setCaseSensitive($caseSensitive = true)
     {
         $this->caseSensitive = $caseSensitive;
         return $this;



More information about the icinga-checkins mailing list