Permalink
Browse files

mnet: clean_param() fixed a leftover debugging statement

  • Loading branch information...
1 parent 47c0407 commit f543c0c39268caf95add233113db122bae7fb92b martinlanghoff committed Jan 18, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -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 '';
}
@@ -538,6 +537,7 @@ function clean_param($param, $type) {
return '';
}
}
+error_log(2);
return implode("\n",$lines);
} else {
return '';

0 comments on commit f543c0c

Please sign in to comment.