From 1bd2166d7e4eddab5d6b29dbca989ff4773f79e4 Mon Sep 17 00:00:00 2001
From: mdtrooper <tres.14159@gmail.com>
Date: Thu, 4 Dec 2014 14:39:35 +0100
Subject: [PATCH] Cleaned source code style. (only for test git)

---
 pandora_console/include/functions_groups.php | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/pandora_console/include/functions_groups.php b/pandora_console/include/functions_groups.php
index 71c0ccc0dd..b675c63b3a 100644
--- a/pandora_console/include/functions_groups.php
+++ b/pandora_console/include/functions_groups.php
@@ -1625,16 +1625,17 @@ function groups_get_tree(&$groups, $parent = false) {
 
 function groups_get_all_hierarchy_group ($id_group, $hierarchy = array()) {
 	global $config;
-
+	
 	if ($id_group == 0) {
 		$hierarchy = groups_get_childrens($id_group);
-	} else {
+	}
+	else {
 		$hierarchy[] = $id_group;
 		$parent = db_get_value('parent','tgrupo','id_grupo',$id_group);
-
+		
 		if ($parent !== 0) {
 			$propagate = db_get_value('propagate','tgrupo','id_grupo',$parent);
-
+			
 			if ($propagate == 1) {
 				//$childrens_ids_parent = array($parent);
 				$hierarchy[] = $parent;
@@ -1645,7 +1646,7 @@ function groups_get_all_hierarchy_group ($id_group, $hierarchy = array()) {
 						$hierarchy[] = (int)$child['id_grupo'];
 					}
 				}
-
+				
 				$hierarchy = groups_get_all_hierarchy_group ($parent, $hierarchy);
 			}
 		}