diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc
index cfa3ea46..0061b8a9 100644
--- a/lam/lib/modules.inc
+++ b/lam/lib/modules.inc
@@ -138,7 +138,7 @@ function getAvailableModules($scope) {
$entry = substr($entry, 0, strpos($entry, '.'));
$eval = '$module = '.$entry."::get_dependencies(".$scope.");";
eval ($eval);
- if ($module != -1) $return[] = getModuleAlias($entry, $scope);
+ if ($module != -1) $return[] = $entry;
}
return $return;
}
@@ -259,13 +259,13 @@ class accountContainer {
if ($this->order[$i]==$this->order[$this->module['main']->current_page] || !$this->module[$this->order[$i]]->module_ready() ) {
// print disabled button
echo "order[$i]."\" type=\"submit\" value=\"";
- echo $this->module[$this->order[$i]]->get_alias();
+ echo $this->module[$this->order[$i]]->get_alias($type);
echo "\" disabled>\n
";
}
else {
// print normal button
echo "order[$i]."\" type=\"submit\" value=\"";
- echo $this->module[$this->order[$i]]->get_alias();
+ echo $this->module[$this->order[$i]]->get_alias($type);
echo "\">\n
";
}
}
@@ -273,7 +273,7 @@ class accountContainer {
echo "\n";
echo "\n
";
echo " | |