Skip to content
Snippets Groups Projects
Commit 40d17add authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix missing print

parent 87b4381d
No related branches found
No related tags found
No related merge requests found
...@@ -1303,7 +1303,8 @@ else ...@@ -1303,7 +1303,8 @@ else
print $form->textwithpicto($text, $langs->trans("InternalExternalDesc")); print $form->textwithpicto($text, $langs->trans("InternalExternalDesc"));
print '</td><td colspan="2">'; print '</td><td colspan="2">';
$type=$langs->trans("Internal"); $type=$langs->trans("Internal");
if ($object->societe_id) $type=$langs->trans("External"); if ($object->societe_id > 0) $type=$langs->trans("External");
print $type;
if ($object->ldap_sid) print ' ('.$langs->trans("DomainUser").')'; if ($object->ldap_sid) print ' ('.$langs->trans("DomainUser").')';
print '</td></tr>'."\n"; print '</td></tr>'."\n";
......
<?php <?php
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2015 Alexandre Spangaro <alexandre.spangaro@gmail.com> * Copyright (C) 2015 Alexandre Spangaro <alexandre.spangaro@gmail.com>
* *
...@@ -168,7 +168,7 @@ if ($result) ...@@ -168,7 +168,7 @@ if ($result)
$obj = $db->fetch_object($result); $obj = $db->fetch_object($result);
$var=!$var; $var=!$var;
$userstatic->id=$obj->id; $userstatic->id=$obj->rowid;
$userstatic->ref=$obj->label; $userstatic->ref=$obj->label;
$userstatic->login=$obj->login; $userstatic->login=$obj->login;
$userstatic->statut=$obj->statut; $userstatic->statut=$obj->statut;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment