* Postfix --/++ => Prefix --/++
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 26 Aug 2005 13:47:38 +0000 (13:47 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 26 Aug 2005 13:47:38 +0000 (13:47 +0000)
includes/GlobalFunctions.php

index f5ef44b..d338709 100644 (file)
@@ -1051,7 +1051,7 @@ function wfSuppressWarnings( $end = false ) {
 
        if ( $end ) {
                if ( $suppressCount ) {
-                       $suppressCount --;
+                       --$suppressCount;
                        if ( !$suppressCount ) {
                                error_reporting( $originalLevel );
                        }
@@ -1060,7 +1060,7 @@ function wfSuppressWarnings( $end = false ) {
                if ( !$suppressCount ) {
                        $originalLevel = error_reporting( E_ALL & ~( E_WARNING | E_NOTICE ) );
                }
-               $suppressCount++;
+               ++$suppressCount;
        }
 }