From 83e45e096b2282fd1e209bf82234ad5c3728bb73 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 31 Aug 2007 04:48:45 +0000 Subject: [PATCH] Debug code, gah. --- includes/Sanitizer.php | 2 -- 1 file changed, 2 deletions(-) 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! -- 2.20.1