Skip to content
Snippets Groups Projects
Commit ef0e4bbe authored by Yas Naoi's avatar Yas Naoi
Browse files

Minor fix

parent 9882a182
No related branches found
No related tags found
No related merge requests found
......@@ -256,6 +256,7 @@ function cloud_get_db_results($query, $params = array()) {
$result = db_query($query, $params);
$return_main_array = array();
foreach ($result as $row) {
$return_array = array();
......
......@@ -71,6 +71,7 @@ function aws_cloud_help($section) {
* Implementation of hook_menu().
*/
function aws_cloud_menu() {
$items = array();
// generate all the cloud related menus
$clouds = aws_cloud_get_all_clouds();
......@@ -635,6 +636,7 @@ function aws_cloud_menu() {
'type' => MENU_CALLBACK,
);
}
return $items;
}
......
......@@ -12,6 +12,7 @@
* Gets all the clouds in the database
*/
function aws_cloud_get_all_clouds($sort_string = NULL) {
//Only return sub-clouds that are defined by aws_cloud or other clouds
//using the same mechanism
$base_clouds = aws_cloud_get_cloud_data();
......@@ -32,6 +33,7 @@ function aws_cloud_get_all_clouds($sort_string = NULL) {
if (isset($sort_string)) {
$query .= $sort_string;
}
return cloud_get_db_results($query);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment