Fix: Error on project creation
This commit is contained in:
parent
7e25edfe0a
commit
f8d798c031
@ -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>';
|
||||
|
||||
}
|
||||
|
||||
@ -176,7 +176,7 @@ class Project extends CommonObject
|
||||
// End call triggers
|
||||
}
|
||||
|
||||
$result = 0;
|
||||
$result = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user