Fixing style errors.
This commit is contained in:
parent
1931ad3bab
commit
915a135c64
@ -1434,7 +1434,8 @@ class Mo extends CommonObject
|
|||||||
*
|
*
|
||||||
* @return array if OK, -1 if KO
|
* @return array if OK, -1 if KO
|
||||||
*/
|
*/
|
||||||
public function getMoChilds(){
|
public function getMoChilds()
|
||||||
|
{
|
||||||
|
|
||||||
$TMoChilds = array();
|
$TMoChilds = array();
|
||||||
$error = 0;
|
$error = 0;
|
||||||
@ -1471,7 +1472,8 @@ class Mo extends CommonObject
|
|||||||
*
|
*
|
||||||
* @return object Mo if OK, -1 if KO, 0 if not exist
|
* @return object Mo if OK, -1 if KO, 0 if not exist
|
||||||
*/
|
*/
|
||||||
public function getMoParent(){
|
public function getMoParent()
|
||||||
|
{
|
||||||
|
|
||||||
$MoParent = new Mo($this->db);
|
$MoParent = new Mo($this->db);
|
||||||
$error = 0;
|
$error = 0;
|
||||||
|
|||||||
@ -45,7 +45,6 @@ $res = $mo_static->fetch($object->id);
|
|||||||
$TMoChilds = $mo_static->getMoChilds();
|
$TMoChilds = $mo_static->getMoChilds();
|
||||||
|
|
||||||
foreach ($TMoChilds as $key => $objectlink) {
|
foreach ($TMoChilds as $key => $objectlink) {
|
||||||
|
|
||||||
$ilink++;
|
$ilink++;
|
||||||
|
|
||||||
$trclass = 'oddeven';
|
$trclass = 'oddeven';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user