brute-force changed access to $_GET['key'] to use get_array instead
[plewww.git] / plekit / php / logSorting.php
index 55d30e5..e3c6877 100644 (file)
@@ -13,9 +13,9 @@ require_once 'plc_drupal.php';
 // Common functions
 require_once 'plc_functions.php';
 
-$value=$_GET["value"];
-$person_id=$_GET["person_id"];
-$slice_id=$_GET["slice_id"];
+$value=get_array($_GET, "value");
+$person_id=get_array($_GET, "person_id");
+$slice_id=get_array($_GET, "slice_id");
 
 $myFile = "/var/log/myslice/myslice.log";
 $fh = fopen($myFile, 'a') or die("can't open file");