Hack to make page rendering hashes for users who have set their preferences the same...
[lhc/web/wiklou.git] / includes / User.php
index 1e3809d..551aa23 100644 (file)
@@ -1511,7 +1511,7 @@ class User {
                $confstr =        $this->getOption( 'math' );
                $confstr .= '!' . $this->getOption( 'stubthreshold' );
                $confstr .= '!' . $this->getOption( 'date' );
-               $confstr .= '!' . $this->getOption( 'numberheadings' );
+               $confstr .= '!' . ($this->getOption( 'numberheadings' ) ? '1' : '');
                $confstr .= '!' . $this->getOption( 'language' );
                $confstr .= '!' . $this->getOption( 'thumbsize' );
                // add in language specific options, if any