correction of syntax error in tpl

This commit is contained in:
Christophe Battarel 2012-07-18 16:43:02 +02:00
parent c5fe895dce
commit 34022de1de
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
* $dateSelector * $dateSelector
* $this (invoice, order, ...) * $this (invoice, order, ...)
* $line defined * $line defined
*/ */
?> ?>
<!-- BEGIN PHP TEMPLATE freeproductline_create.tpl.php --> <!-- BEGIN PHP TEMPLATE freeproductline_create.tpl.php -->
@ -100,7 +100,7 @@ if ($conf->marges->enabled) {
<?php if ($conf->service->enabled && $dateSelector) { <?php if ($conf->service->enabled && $dateSelector) {
if(! empty($conf->global->MAIN_VIEW_LINE_NUMBER) if(! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
$colspan = 10; $colspan = 10;
else else
$colspan = 9; $colspan = 9;

View File

@ -109,7 +109,7 @@ if ($conf->marges->enabled) {
</tr> </tr>
<?php if ($conf->service->enabled && $dateSelector) { <?php if ($conf->service->enabled && $dateSelector) {
if(! empty($conf->global->MAIN_VIEW_LINE_NUMBER) if(! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
$colspan = 10; $colspan = 10;
else else
$colspan = 9; $colspan = 9;