From 859d523be355e4391613b29e36c8e8d3b56e6970 Mon Sep 17 00:00:00 2001 From: martinhaas <> Date: Tue, 3 Apr 2007 07:08:48 +0000 Subject: [PATCH] Fix ($errormessage) git-svn-id: https://svn.fhem.de/fhem/trunk@43 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/webfrontend/pgm3/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {