X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=app%2Fcontrollers%2Fusers%2Fpistes.php;h=4fd25f64210c36a8728a1b5f3ca1937aae378971;hb=refs%2Ftags%2Fsourceml.0.15.2;hp=0ef6007a31c7b90384704bc3d34dc1282f4a79c2;hpb=2802d2dbcb5a1ea3c269d6fb4df9fbfb0f13f93d;p=mw_sourceml diff --git a/app/controllers/users/pistes.php b/app/controllers/users/pistes.php index 0ef6007..4fd25f6 100644 --- a/app/controllers/users/pistes.php +++ b/app/controllers/users/pistes.php @@ -177,11 +177,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 ); } } @@ -192,11 +192,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{ @@ -342,11 +342,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 ); } } @@ -357,11 +357,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{