mirror of
https://github.com/SkillDisplay/PHPToolKit.git
synced 2024-11-23 16:26:08 +01:00
parent
ca56b9224c
commit
6d27e3d0f8
1 changed files with 4 additions and 1 deletions
|
@ -99,7 +99,7 @@ class Link
|
|||
throw new \InvalidArgumentException('No ID provided.', 1599723825);
|
||||
}
|
||||
|
||||
$link = $this->settings->getMySkillDisplayUrl() . '/skillup/' . $type . '/' . $id . '/0/' . ($campaignId ?: '');
|
||||
$link = $this->settings->getMySkillDisplayUrl() . '/skillup/' . $type . '/' . $id . '/0/';
|
||||
switch ($vtype) {
|
||||
case VERIFICATION_EDUCATIONAL:
|
||||
$link .= '2';
|
||||
|
@ -114,6 +114,9 @@ class Link
|
|||
$link .= '3';
|
||||
break;
|
||||
}
|
||||
if ($campaignId) {
|
||||
$link .= '/' . $campaignId;
|
||||
}
|
||||
|
||||
return $link;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue