X-Git-Url: http://git.dj3c1t.com/index.cgi?a=blobdiff_plain;f=mw%2Fapp%2Fdata%2Fmodules%2Fshare%2Fmw_data_out_config.php;h=d5471cfab7cc7b282e260bc169a5140bae7d43eb;hb=refs%2Ftags%2Fmtweb.0.8.1;hp=173efbe1987e33e553dc49f50cbd889e85b46c50;hpb=36ed114046cbe3d72a3589230e9f306a54fcc79d;p=mtweb diff --git a/mw/app/data/modules/share/mw_data_out_config.php b/mw/app/data/modules/share/mw_data_out_config.php index 173efbe..d5471cf 100644 --- a/mw/app/data/modules/share/mw_data_out_config.php +++ b/mw/app/data/modules/share/mw_data_out_config.php @@ -10,7 +10,7 @@ if(!isset($this->sxml)) $this->sxml = new sxml(); $this->sxml->parse($this->buffer); $this->buffer = $this->sxml->data["config"][0]; - if($this->buffer["subs"]) foreach($this->buffer["subs"] as $key => $value){ + if(isset($this->buffer["subs"]) && $this->buffer["subs"]) foreach($this->buffer["subs"] as $key => $value){ $config[$key] = array( "type" => $value[0]["attrs"]["type"], "default" => $value[0]["attrs"]["default"],