Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/3.8' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 17, 2015
2 parents 81b447d + 57521f6 commit 27b1f2e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/exe/doliwamp/UsedPort.cpp
Expand Up @@ -277,7 +277,7 @@ help=!(Port > 0);
Usage:
if (help) {
printf("----- %s V%s (c)Laurent Destailleur -----\n",PROG,VERSION);
printf("%s is a software that allows you to know if a TCP/IP port is used\n",PROG);
printf("%s is software that allows you to know if a TCP/IP port is used\n",PROG);
printf("%s sources can be compiled for WIN32 (VC++, GCC CYGWIN, MINGW) or for\n");
printf("Unix/Linux (GCC)\n",PROG);
printf("\n");
Expand Down
4 changes: 2 additions & 2 deletions htdocs/core/class/html.form.class.php
Expand Up @@ -3016,7 +3016,7 @@ function select_all_categories($type, $selected='', $htmlname="parent", $maxleng
global $langs;
$langs->load("categories");

include_once DOL_DOCUMENT_ROOT.'/categories/class.categorie.class.php';
include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';

$cat = new Categorie($this->db);
$cate_arbo = $cat->get_full_arbo($type,$excludeafterid);
Expand Down Expand Up @@ -4677,7 +4677,7 @@ function showCategories($id, $type, $rendermode=0)
{
global $db;

include_once DOL_DOCUMENT_ROOT.'/categories/class.categorie.class.php';
include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';

$cat = new Categorie($db);
$categories = $cat->containing($id, $type);
Expand Down
10 changes: 5 additions & 5 deletions htdocs/user/card.php
Expand Up @@ -278,7 +278,7 @@
{
$editgroup = new UserGroup($db);
$editgroup->fetch($group);
$editgroup->oldcopy=dol_clone($editgroup);
$editgroup->oldcopy=clone($editgroup);

$object->fetch($id);
if ($action == 'addgroup') $object->SetInGroup($group,($conf->multicompany->transverse_mode?GETPOST("entity"):$editgroup->entity));
Expand Down Expand Up @@ -340,7 +340,7 @@
{
$db->begin();

$object->oldcopy=dol_clone($object);
$object->oldcopy=clone($object);

$object->lastname = GETPOST("lastname",'alpha');
$object->firstname = GETPOST("firstname",'alpha');
Expand Down Expand Up @@ -508,7 +508,7 @@
{
$object->fetch($id);

$object->oldcopy=dol_clone($object);
$object->oldcopy=clone($object);

$ret=$object->setPassword($user,$_POST["password"]);
if ($ret < 0)
Expand Down Expand Up @@ -1046,7 +1046,7 @@
{
print '<tr><td>'.$langs->trans("ColorUser").'</td>';
print '<td>';
print $formother->selectColor(GETPOST('color')?GETPOST('color'):$object->color, 'color', 'usercolorconfig', 1, '', 'hideifnotset');
print $formother->selectColor(GETPOST('color')?GETPOST('color'):$object->color, 'color', null, 1, '', 'hideifnotset');
print '</td></tr>';
}

Expand Down Expand Up @@ -2151,7 +2151,7 @@
{
print '<tr><td>'.$langs->trans("ColorUser").'</td>';
print '<td>';
print $formother->selectColor(GETPOST('color')?GETPOST('color'):$object->color, 'color', 'usercolorconfig', 1, '', 'hideifnotset');
print $formother->selectColor(GETPOST('color')?GETPOST('color'):$object->color, 'color', null, 1, '', 'hideifnotset');
print '</td></tr>';
}

Expand Down

0 comments on commit 27b1f2e

Please sign in to comment.