@@ -1381,7 +1381,9 @@ |
||
1381 | 1381 | $i = 0; |
1382 | 1382 | foreach ($fichinters as $fichinter) { |
1383 | 1383 | $i++; |
1384 | - if ($i > $limit) break; |
|
1384 | + if ($i > $limit) { |
|
1385 | + break; |
|
1386 | + } |
|
1385 | 1387 | |
1386 | 1388 | print "\t".'<tr class="oddeven">'."\n"; |
1387 | 1389 | print '<td class="nowrap tdtop">'; |
@@ -61,8 +61,9 @@ |
||
61 | 61 | $mysoc = $soc; |
62 | 62 | |
63 | 63 | /* Errors are caught in later tests. */ |
64 | - if ($socid <= 0) |
|
65 | - return; |
|
64 | + if ($socid <= 0) { |
|
65 | + return; |
|
66 | + } |
|
66 | 67 | } |
67 | 68 | |
68 | 69 | /** |
@@ -34,7 +34,10 @@ |
||
34 | 34 | throw new PclZipProxyException('PclZip class not loaded - PclZip library |
35 | 35 | is required for using PclZipProxy'); ; |
36 | 36 | } |
37 | - if ($forcedir) $this->tmpdir=preg_replace('|[//\/]$|','',$forcedir); // $this->tmpdir must not contains / at the end |
|
37 | + if ($forcedir) { |
|
38 | + $this->tmpdir=preg_replace('|[//\/]$|','',$forcedir); |
|
39 | + } |
|
40 | + // $this->tmpdir must not contains / at the end |
|
38 | 41 | } |
39 | 42 | |
40 | 43 | /** |