@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $PAGE->navbar->add($navtitle, new moodle_url('/local/relationship/index.php', array('contextid'=>$context->id))); |
| 46 | 46 | if($module) { |
| 47 | 47 | $PAGE->navbar->add(get_string($module, 'local_relationship'), |
| 48 | - new moodle_url("/local/relationship/{$module}.php", array('relationshipid'=>$relationship->id))); |
|
| 48 | + new moodle_url("/local/relationship/{$module}.php", array('relationshipid'=>$relationship->id))); |
|
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | 51 | |
@@ -284,7 +284,7 @@ |
||
| 284 | 284 | * Update existing relationship |
| 285 | 285 | * |
| 286 | 286 | * @param sstdClass $relationship |
| 287 | - * @return void |
|
| 287 | + * @return boolean |
|
| 288 | 288 | */ |
| 289 | 289 | function relationship_update_relationship($relationship) { |
| 290 | 290 | global $DB; |