From: Aryeh Gregor Date: Fri, 31 Aug 2007 04:48:45 +0000 (+0000) Subject: Debug code, gah. X-Git-Tag: 1.31.0-rc.0~51590 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=83e45e096b2282fd1e209bf82234ad5c3728bb73;p=lhc%2Fweb%2Fwiklou.git Debug code, gah. --- diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index af150d35b3..f2dcbf94e1 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -798,8 +798,6 @@ class Sanitizer { $id = urlencode( Sanitizer::decodeCharReferences( strtr( $id, ' ', '_' ) ) ); $id = str_replace( array_keys( $replace ), array_values( $replace ), $id ); - echo "flags = $flags, ~flags & Sanitizer::INITIAL_NONLETTER = ".(~$flags&Sanitizer::INITIAL_NONLETTER).", id=$id\n"; - if( ~$flags & Sanitizer::INITIAL_NONLETTER && !preg_match( '/[a-zA-Z]/', $id[0] ) ) { // Initial character must be a letter!