Clean
This commit is contained in:
parent
d166ae9167
commit
0a9c0d704e
@ -7770,7 +7770,7 @@ class Form
|
|||||||
}
|
}
|
||||||
$sql .= $this->db->order($sortfield ? $sortfield : $fieldstoshow, "ASC");
|
$sql .= $this->db->order($sortfield ? $sortfield : $fieldstoshow, "ASC");
|
||||||
//$sql.=$this->db->plimit($limit, 0);
|
//$sql.=$this->db->plimit($limit, 0);
|
||||||
// print $sql;
|
//print $sql;
|
||||||
|
|
||||||
// Build output string
|
// Build output string
|
||||||
$resql = $this->db->query($sql);
|
$resql = $this->db->query($sql);
|
||||||
@ -8622,7 +8622,6 @@ class Form
|
|||||||
|
|
||||||
// Output template part (modules that overwrite templates must declare this into descriptor)
|
// Output template part (modules that overwrite templates must declare this into descriptor)
|
||||||
$dirtpls = array_merge($conf->modules_parts['tpl'], array('/'.$tplpath.'/tpl'));
|
$dirtpls = array_merge($conf->modules_parts['tpl'], array('/'.$tplpath.'/tpl'));
|
||||||
|
|
||||||
foreach ($dirtpls as $reldir) {
|
foreach ($dirtpls as $reldir) {
|
||||||
if ($nboftypesoutput == ($nbofdifferenttypes - 1)) { // No more type to show after
|
if ($nboftypesoutput == ($nbofdifferenttypes - 1)) { // No more type to show after
|
||||||
global $noMoreLinkedObjectBlockAfter;
|
global $noMoreLinkedObjectBlockAfter;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user