upgrade 1.1.2 pour XML, MySql et SQLite
[mw_sourceml] / app / data / modules / share / sml_data_sources_xml_format.php
index ae67cab..676262a 100644 (file)
@@ -20,6 +20,9 @@
       if($this->status !== false){
         $this->source = isset($params["source"]) ? $params["source"] : $this->source($id, true);
         if($this->source !== false){
+          if($this->source["reference"]){
+            return $this->source["reference"]["xml"]["content"];
+          }
           if($this->source["groupes"]) $this->groupes = $this->source["groupes"];
           if(isset($params["groupes"])) $this->groupes = $params["groupes"];
           if(!isset($this->groupes)) $this->groupes = $this->source_groupes($id);