';
diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 057f2d02ab4..05bb19abc2c 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -1524,7 +1524,7 @@ class Form
* \param selected Id categorie preselectionnee
* \param select_name Nom formulaire HTML
*/
- function select_all_categories($type,$selected='',$select_name="")
+ function select_all_categories($type,$selected='',$select_name="",$maxlength=64)
{
global $langs;
$langs->load("categories");
@@ -1551,7 +1551,7 @@ class Form
{
$add = '';
}
- $output.= '';
+ $output.= '';
}
}
}
diff --git a/htdocs/soc.php b/htdocs/soc.php
index 6590b5cf022..75c98a5389d 100644
--- a/htdocs/soc.php
+++ b/htdocs/soc.php
@@ -1260,11 +1260,13 @@ else
print 'id.'&action=edit">'.$langs->trans("Modify").'';
}
+ /* Not specific to third party. Must go on Project menu to create a project.
if ($conf->projet->enabled && $user->rights->projet->creer)
{
$langs->load("projects");
print ''.$langs->trans("AddProject").'';
}
+ */
if ($user->rights->societe->contact->creer)
{