Skip to content

Commit

Permalink
mnet: clean_param() fixed a leftover debugging statement
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlanghoff committed Jan 18, 2007
1 parent 47c0407 commit f543c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moodlelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ function clean_param($param, $type) {
// forward slash: /
// plus sign: +
// equal sign: =
error_log("Called with " . $param);
if (0 >= preg_match('/^([\s\w\/\+=]+)$/', trim($param))) {
return '';
}
Expand All @@ -538,6 +537,7 @@ function clean_param($param, $type) {
return '';
}
}
error_log(2);
return implode("\n",$lines);
} else {
return '';
Expand Down

0 comments on commit f543c0c

Please sign in to comment.