GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed another typo
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
eventz
/
K.inc
diff --git
a/wwwroot/inc/eventz/K.inc
b/wwwroot/inc/eventz/K.inc
index 05485e4d498f7497f5dc2c5cf5b6e00ca5b4cbea..b954bc4ed502052958b35eb883ac3892b7210587 100644
(file)
--- a/
wwwroot/inc/eventz/K.inc
+++ b/
wwwroot/inc/eventz/K.inc
@@
-70,6
+70,11
@@
function K() {
foreach ($k as $id) {
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)){
if ($user_k) {
$isSenat = hasAncestor(getAncestors($id), $senat_id);
if ($isSenat && !($isComm || $isSOwner)){
This page took
0.129597 seconds
and
4
git commands to generate.