diff options
Diffstat (limited to 'auto_prepend.php')
-rw-r--r-- | auto_prepend.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/auto_prepend.php b/auto_prepend.php index 0b8bb68..7500061 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -154,8 +154,8 @@ function db_version() */ if (function_exists("taint")) { - function it_untaint(&$value, $marks = TC_HTML) { untaint($value, $marks); return $value; } - function it_taintcheck(&$value, $marks = TC_HTML) { if (istainted($value) & $marks) { untaint($value, $marks); it::error("it_taintcheck($value, $marks) failed"); } return $value; } + function it_untaint($value, $marks = TC_HTML) { untaint($value, $marks); return $value; } + function it_taintcheck($value, $marks = TC_HTML) { if (istainted($value) & $marks) { untaint($value, $marks); it::error(it_untaint("it_taintcheck($value, $marks) failed")); } return $value; } } else { @@ -166,8 +166,8 @@ else define('TC_SELF', 0); define('TC_ALL', 0); define('TC_NONE', 0); - function it_untaint(&$value, $marks = 0) { return $value; } - function it_taintcheck(&$value, $marks = 0) { return $value; } + function it_untaint($value, $marks = 0) { return $value; } + function it_taintcheck($value, $marks = 0) { return $value; } } ?> |