plusieurs auteurs (maj controleur albums)
[mw_sourceml] / app / controllers / users / morceaux.php
index abd7e2c..24d0c7c 100644 (file)
                 $env,
                 $xml_url,
                 (
-                  $_POST["use_edit_derivation_content_".$id_source_derivation] ?
+                  isset($_POST["use_edit_derivation_content_".$id_source_derivation]) ?
                     $_POST["edit_derivation_content_".$id_source_derivation]
                   : ($xml_url ? $data->get_source_xml_from_url($xml_url) : "")
                 ),
-                $_POST["use_edit_derivation_content_".$id_source_derivation] ? true : false
+                isset($_POST["use_edit_derivation_content_".$id_source_derivation]) ? true : false
               );
             }
           }
             $env,
             $xml_url,
             (
-              $_POST["use_edit_reference_content"] ?
+              isset($_POST["use_edit_reference_content"]) ?
                 $_POST["edit_reference_content"]
               : ($xml_url ? $data->get_source_xml_from_url($xml_url) : "")
             ),
-            $_POST["use_edit_reference_content"] ? true : false
+            isset($_POST["use_edit_reference_content"]) ? true : false
           );
         }
         else{
                 $env,
                 $xml_url,
                 (
-                  $_POST["use_edit_derivation_content_".$id_source_derivation] ?
+                  isset($_POST["use_edit_derivation_content_".$id_source_derivation]) ?
                     $_POST["edit_derivation_content_".$id_source_derivation]
                   : ($xml_url ? $data->get_source_xml_from_url($xml_url) : "")
                 ),
-                $_POST["use_edit_derivation_content_".$id_source_derivation] ? true : false
+                isset($_POST["use_edit_derivation_content_".$id_source_derivation]) ? true : false
               );
             }
           }
             $env,
             $xml_url,
             (
-              $_POST["use_edit_reference_content"] ?
+              isset($_POST["use_edit_reference_content"]) ?
                 $_POST["edit_reference_content"]
               : ($xml_url ? $data->get_source_xml_from_url($xml_url) : "")
             ),
-            $_POST["use_edit_reference_content"] ? true : false
+            isset($_POST["use_edit_reference_content"]) ? true : false
           );
         }
         else{