diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 21811408..5aea3002 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -862,9 +862,16 @@ class accountContainer { $this->subpage='attributes'; } else for ($i=1; $iorder); $i++ ) - if (isset($post['form_main_'.$this->order[$i]]) && ($this->module[$this->order[$i]]->module_ready())) { - $this->current_page = $i; - $this->subpage='attributes'; + if (isset($post['form_main_'.$this->order[$i]])) { + if ($this->module[$this->order[$i]]->module_ready()) { + $this->current_page = $i; + $this->subpage='attributes'; + } + else { + StatusMessage('ERROR', _('The module %s is not yet ready.'), + _('Please enter the account information on the other pages first.'), + array($this->module[$this->order[$i]]->get_alias())); + } } } // Write HTML-Code