small events cleanup
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / K.inc
index 05485e4d498f7497f5dc2c5cf5b6e00ca5b4cbea..b954bc4ed502052958b35eb883ac3892b7210587 100644 (file)
@@ -70,6 +70,11 @@ function K() {
 
     foreach ($k as $id) {
 
+       // prevent sqli
+       $k = intval($k);
+       if ($k == 0) {  continue; }
+       
+       
         if ($user_k) {
             $isSenat = hasAncestor(getAncestors($id), $senat_id);
             if ($isSenat && !($isComm || $isSOwner)){
This page took 0.12519 seconds and 4 git commands to generate.