Use PHP's implode() with the suggested order of arguments
[lhc/web/wiklou.git] / includes / EditPage.php
index f9c7fb2..aae183e 100644 (file)
@@ -3702,7 +3702,7 @@ ERROR;
                $out->addHTML( $this->editFormTextAfterWarn );
 
                $out->addHTML( "<div class='editButtons'>\n" );
-               $out->addHTML( implode( $this->getEditButtons( $tabindex ), "\n" ) . "\n" );
+               $out->addHTML( implode( "\n", $this->getEditButtons( $tabindex ) ) . "\n" );
 
                $cancel = $this->getCancelLink();