mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 14:32:18 +00:00
Minor adaptation to changed method isMitarbeiter()
This commit is contained in:
@@ -63,8 +63,9 @@ class LehrauftragAkzeptieren extends Auth_Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
// Check if user is lector
|
||||
if (!$this->MitarbeiterModel->isLektor($this->_uid))
|
||||
// Check if user is Mitarbeiter
|
||||
$result = $this->MitarbeiterModel->isMitarbeiter($this->_uid);
|
||||
if (!getData($result))
|
||||
{
|
||||
show_error('Fehler bei Berechtigungsprüfung');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user