Correction of a condition of the constant
This commit is contained in:
parent
0c7cf34125
commit
649d5b009e
@ -1238,11 +1238,7 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
|||||||
<?php
|
<?php
|
||||||
$count = 0;
|
$count = 0;
|
||||||
while ($count < $MAXPRODUCT) {
|
while ($count < $MAXPRODUCT) {
|
||||||
if ($conf->global->TAKEPOS_HIDE_CATEGORIES == 1) {
|
|
||||||
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
||||||
} else {
|
|
||||||
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<?php if ($count == ($MAXPRODUCT - 2)) {
|
<?php if ($count == ($MAXPRODUCT - 2)) {
|
||||||
?> onclick="MoreProducts('less');" <?php
|
?> onclick="MoreProducts('less');" <?php
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user