Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-20445 - change the logic to get 'title' attribute for the link in…

… navbar and navblock.
  • Loading branch information...
commit bbfa9be0f87e0066d8447de4e1590b45ff8a4036 1 parent ce0738c
Rossiani Wijaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/navigationlib.php
View
2  lib/navigationlib.php
@@ -486,7 +486,7 @@ public function get_content($shorttext=false) {
* @return string
*/
public function get_title() {
- if ($this->forcetitle || ($this->shorttext!==null && $this->title !== $this->shorttext) || $this->title !== $this->text) {
+ if ($this->forcetitle || $this->action != null){
return $this->title;
} else {
return '';
Please sign in to comment.
Something went wrong with that request. Please try again.