More unitialized variable cleanup && 'pure' register_globals cleanup...
[lhc/web/wiklou.git] / includes / Title.php
index 62bc12d..2ab5a89 100644 (file)
@@ -66,6 +66,9 @@ class Title {
                        }
                }
 
+               if( is_object( $text ) ) {
+                       wfDebugDieBacktrace( "Called with object instead of string." );
+               }
                $text = strtr( $text, $trans );
                
                $text = wfMungeToUtf8( $text );