[icinga-checkins] icinga.org: icingaweb2-module-director/master: ShowController: fix diff rendering

git at icinga.org git at icinga.org
Tue Feb 23 03:19:52 CET 2016


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Tue Feb 23 03:19:06 2016 +0100

ShowController: fix diff rendering

---

 application/controllers/ShowController.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/controllers/ShowController.php b/application/controllers/ShowController.php
index e30f458..92f1b01 100644
--- a/application/controllers/ShowController.php
+++ b/application/controllers/ShowController.php
@@ -94,8 +94,8 @@ class ShowController extends ActionController
     {
         return $this->createObject(
             $entry->object_type,
-            $entry->old_properties
-        )->setProperties((array) json_decode($entry->new_properties));
+            $entry->new_properties
+        );
     }
 
     protected function showObject($object)



More information about the icinga-checkins mailing list