correct classname determination for older PHP-versions
This commit is contained in:
parent
2f65a89ef4
commit
0ef30ac1ca
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
// Character
|
||||
$controller = $this->agent->getIntermediateAgent()->controller;
|
||||
if(in_array(\hhu\z\controllers\SeminaryRoleController::class, class_parents($controller)))
|
||||
if(is_subclass_of($controller, '\hhu\z\controllers\SeminaryRoleController'))
|
||||
{
|
||||
$seminaryUrl = $this->request->getParam(3);
|
||||
static::$seminary = $this->Seminaries->getSeminaryByUrl($seminaryUrl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue