Fix: Error on project creation

This commit is contained in:
Laurent Destailleur 2010-02-27 23:42:45 +00:00
parent 7e25edfe0a
commit f8d798c031
2 changed files with 3 additions and 2 deletions

View File

@ -296,8 +296,9 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
print '<textarea name="description" wrap="soft" cols="80" rows="'.ROWS_3.'">'.$_POST["description"].'</textarea>';
print '</td></tr>';
print '<tr><td colspan="2" align="center"><input type="submit" class="button" value="'.$langs->trans("Create").'"></td></tr>';
print '</table>';
print '<br><center><input type="submit" class="button" value="'.$langs->trans("Create").'"></center>';
print '</form>';
}

View File

@ -176,7 +176,7 @@ class Project extends CommonObject
// End call triggers
}
$result = 0;
$result = 1;
}
else
{