diff --git a/lib/navigationlib.php b/lib/navigationlib.php index 3f806c0a25b..7cd653adffb 100644 --- a/lib/navigationlib.php +++ b/lib/navigationlib.php @@ -486,7 +486,7 @@ class navigation_node implements renderable { * @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 '';