diff --git a/fhem/webfrontend/pgm3/index.php b/fhem/webfrontend/pgm3/index.php index 662d601cd..1812c996e 100644 --- a/fhem/webfrontend/pgm3/index.php +++ b/fhem/webfrontend/pgm3/index.php @@ -202,7 +202,8 @@ if ( $version[0] == 4 ) { include "config.php"; $order="$fhz1000_pl $port '$order'"; #PHP4, only localhost - exec($order,$errormessage); + exec($order,$res); + $errormessage = $res[0]; } else {