]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed some validation error in /settings
authorAldo "xoen" Giambelluca <xoen@xoen.org>
Tue, 29 Jun 2010 15:35:04 +0000 (17:35 +0200)
committerAldo "xoen" Giambelluca <xoen@xoen.org>
Tue, 29 Jun 2010 15:35:04 +0000 (17:35 +0200)
* Form action not specified
* An input field was not closed
* Made an input field child of a div

inc/templates/configform.php

index 709e8f14296c11044816dcdd08acba642e4582c9..64499b9ed959d90d71cb4caea7b83a8e89c31446 100755 (executable)
@@ -18,8 +18,8 @@ changepassset=function(){
        }
 }
 </script>
-<form method="post" enctype="multipart/form-data">
-<input type='hidden' name='config' value='1'>
+<form method="post" enctype="multipart/form-data" action="#">
+<div><input type='hidden' name='config' value='1' /></div>
 <table cellpadding="5" cellspacing="5" border="0" class="loginform">
 <?php
        if(!empty($CONFIG_ERROR) and !$FIRSTRUN){