about summary refs log tree commit diff
path: root/sourcecodes/add_inv_example.php
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/add_inv_example.php')
-rw-r--r--sourcecodes/add_inv_example.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/sourcecodes/add_inv_example.php b/sourcecodes/add_inv_example.php
index 0a7ea200..a3e0f87d 100644
--- a/sourcecodes/add_inv_example.php
+++ b/sourcecodes/add_inv_example.php
@@ -1,6 +1,7 @@
 <?php 
   //include("restructuremap.php");
-$keyval=$_GET["My_key"];
+include("input_validate.php");
+$keyval=valid_keyval($_GET["My_key"]);
 
 function discretemap($textdata,$sym,$dmapdata)
 {
@@ -183,6 +184,7 @@ else
 }
 
 include("mat_structure.php");
+$keyval = valid_keyval($keyval);
 structure_change($keyval);