forked from Wavyzz/dolibarr
Qual: Moved variable declaration for later usage
This commit is contained in:
@@ -659,10 +659,10 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
||||
$result = $db->query($sql);
|
||||
$num = $db->num_rows($result);
|
||||
|
||||
if ($num)
|
||||
$var=true;
|
||||
if ($num)
|
||||
{
|
||||
$i=0;
|
||||
$var=true;
|
||||
|
||||
while ($i < $num)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user