From 9685299759d5df62de9acbaa7f8b450b206656da Mon Sep 17 00:00:00 2001 From: DMITRIY SANNIKOV Date: Wed, 6 Mar 2019 01:37:15 +0500 Subject: [PATCH] Update magichome.class.php --- modules/magichome/magichome.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/magichome/magichome.class.php b/modules/magichome/magichome.class.php index 465a68b..3daf125 100644 --- a/modules/magichome/magichome.class.php +++ b/modules/magichome/magichome.class.php @@ -469,6 +469,10 @@ function search_devices(&$out) { * @access public */ function usual(&$out) { + + if ($this->owner->action=='apps') { + $this->redirect(ROOTHTML."module/".$this->name.".html"); + } else $this->admin($out); }