Commit 0c12f926644a8a59838e257d696d856d2c5663fd

Authored by Eugeny Galkovskiy
2 parents be3cfcb8 9fa78a21

Merge remote-tracking branch 'origin/master'

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
frontend/views/layouts/main.php
... ... @@ -109,8 +109,8 @@
109 109 $this_lang = $langs_a['0'];
110 110  
111 111 $langs_head = artbox\core\widgets\LangLink::widget();
112   - $langs_head = str_replace(" / ","",$langs_head);
113   - $langs_head = str_replace($this_lang,"",$langs_head);
  112 + $langs_head = str_replace(" / ".$this_lang,"",$langs_head);
  113 + $langs_head = str_replace($this_lang." / ","",$langs_head);
114 114 echo "<span class='active_lang'>$this_lang</span>".$langs_head;
115 115 ?>
116 116 </div>
... ...