Skip to content
Permalink
Browse files

Update magichome.class.php

  • Loading branch information...
directman66 committed Sep 6, 2018
1 parent 7299863 commit 70f8661db7653312a1fe50a6dfa8f5f9fd2fd1a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/magichome/magichome.class.php
@@ -256,7 +256,7 @@ function search_devices(&$out) {
}}
$mhdevices=SQLSelect("SELECT *, substr(CURRENTCOLOR,13,6) CCOLOR, substr(CURRENTCOLOR,11,2) BR, substr(CURRENTCOLOR,5,2) TURN FROM magichome_devices");
$mhdevices=SQLSelect("SELECT *, substr(CURRENTCOLOR,13,6) CCOLOR, substr(CURRENTCOLOR,10,2) BR, substr(CURRENTCOLOR,5,2) TURN FROM magichome_devices");
if ($mhdevices[0]['ID']) {
$out['DEVICES']=$mhdevices;

0 comments on commit 70f8661

Please sign in to comment.
You can’t perform that action at this time.