Merge "Remove deprecated hook EditPageBeforeEditChecks"
[lhc/web/wiklou.git] / includes / EditPage.php
index a484e40..644b625 100644 (file)
@@ -2812,7 +2812,7 @@ ERROR;
                        $this->autoSumm = md5( '' );
                }
 
-               $autosumm = $this->autoSumm ? $this->autoSumm : md5( $this->summary );
+               $autosumm = $this->autoSumm ?: md5( $this->summary );
                $out->addHTML( Html::hidden( 'wpAutoSummary', $autosumm ) );
 
                $out->addHTML( Html::hidden( 'oldid', $this->oldid ) );