|
@@ -239,12 +239,12 @@ class StudentPublicationLink extends AbstractLink
|
|
|
|
|
|
public function get_name() {
|
|
|
$this->get_exercise_data();
|
|
|
- return $this->exercise_data['url'];
|
|
|
+ return isset($this->exercise_data['url']) ? $this->exercise_data['url'] : null;
|
|
|
}
|
|
|
|
|
|
public function get_description() {
|
|
|
$this->get_exercise_data();
|
|
|
- return $this->exercise_data['description'];
|
|
|
+ return isset($this->exercise_data['description']) ? $this->exercise_data['description'] : null;
|
|
|
}
|
|
|
|
|
|
public function get_test_id() {
|