mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
ENIGMA2: fix XML recognition for old WebIf versions
git-svn-id: https://svn.fhem.de/fhem/trunk@4459 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
61f568a252
commit
3e183cde15
@ -26,7 +26,7 @@
|
||||
#
|
||||
# Version: 1.2.0
|
||||
#
|
||||
# Version History:
|
||||
# Major Version History:
|
||||
# - 1.2.0 - 2013-12-21
|
||||
# -- Add bouquet support e.g. for named channels
|
||||
#
|
||||
@ -34,9 +34,6 @@
|
||||
# -- Improved logging & debugging
|
||||
# -- added default attributes for webCmd and devStateIcon
|
||||
#
|
||||
# - 1.0.1 - 2013-12-15
|
||||
# -- Bugfix release
|
||||
#
|
||||
# - 1.0.0 - 2013-09-23
|
||||
# -- First release
|
||||
#
|
||||
@ -1627,7 +1624,7 @@ sub ENIGMA2_SendCommand($$;$) {
|
||||
}
|
||||
|
||||
if ( $response ne "" ) {
|
||||
if ( $response =~ /^<\?xml/ ) {
|
||||
if ( $response =~ /^<\?xml/ && $response !~ /<\/html>/ ) {
|
||||
if ( !defined($cmd) || $cmd eq "" ) {
|
||||
Log3 $name, 5, "ENIGMA2 $name: RES $service\n" . $response;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user