[icinga-checkins] icinga.org: icingaweb2-module-director/master: CustomVariables: improved " set modified" handling

git at icinga.org git at icinga.org
Tue Feb 23 03:15:20 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: c090665594560335433c348bbb5ff56be1125966
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=c090665594560335433c348bbb5ff56be1125966

Author: Thomas Gelf <thomas at gelf.net>
Date:   Mon Feb 22 11:02:04 2016 +0100

CustomVariables: improved "set modified" handling

---

 library/Director/CustomVariable/CustomVariables.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Director/CustomVariable/CustomVariables.php b/library/Director/CustomVariable/CustomVariables.php
index ab27a8a..1c809aa 100644
--- a/library/Director/CustomVariable/CustomVariables.php
+++ b/library/Director/CustomVariable/CustomVariables.php
@@ -85,7 +85,7 @@ class CustomVariables implements Iterator, Countable, IcingaConfigRenderer
                 }
             }
         } else {
-            $this->vars[$key] = $value;
+            $this->vars[$key] = $value->setModified();
         }
 
         $this->modified = true;



More information about the icinga-checkins mailing list