X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=app%2Fcontrollers%2Fusers%2Fmorceaux.php;h=24d0c7c0a67235098e9fb3b15b3f0cb2ac02d052;hb=refs%2Ftags%2Fsourceml.0.15.2;hp=abd7e2c964f53c914a67e3704a711db6eacd525f;hpb=2802d2dbcb5a1ea3c269d6fb4df9fbfb0f13f93d;p=mw_sourceml diff --git a/app/controllers/users/morceaux.php b/app/controllers/users/morceaux.php index abd7e2c..24d0c7c 100644 --- a/app/controllers/users/morceaux.php +++ b/app/controllers/users/morceaux.php @@ -172,11 +172,11 @@ $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 ); } } @@ -187,11 +187,11 @@ $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{ @@ -337,11 +337,11 @@ $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 ); } } @@ -352,11 +352,11 @@ $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{