Update list.php
This commit is contained in:
parent
c02e3eed6b
commit
0d07135027
@ -1680,7 +1680,7 @@ if ($resql) {
|
|||||||
// Author
|
// Author
|
||||||
if (!empty($arrayfields['u.login']['checked'])) {
|
if (!empty($arrayfields['u.login']['checked'])) {
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
if ($userstatic->id) {
|
if ($userstatic->id > 0) {
|
||||||
print $userstatic->getLoginUrl(1);
|
print $userstatic->getLoginUrl(1);
|
||||||
} else {
|
} else {
|
||||||
print ' ';
|
print ' ';
|
||||||
@ -1704,7 +1704,6 @@ if ($resql) {
|
|||||||
// We print only number
|
// We print only number
|
||||||
print $nbofsalesrepresentative;
|
print $nbofsalesrepresentative;
|
||||||
} elseif ($nbofsalesrepresentative > 0) {
|
} elseif ($nbofsalesrepresentative > 0) {
|
||||||
$userstatic = new User($db);
|
|
||||||
$j = 0;
|
$j = 0;
|
||||||
foreach ($listsalesrepresentatives as $val) {
|
foreach ($listsalesrepresentatives as $val) {
|
||||||
$userstatic->id = $val['id'];
|
$userstatic->id = $val['id'];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user