浏览代码

translation

trendschau 5 年之前
父节点
当前提交
70be33acd2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      system/system.php

+ 1 - 1
system/system.php

@@ -221,7 +221,7 @@ $container['view'] = function ($container) use ($uri)
 	/******************************
 	* LOAD TRANSLATIONS           *
 	******************************/
-  	if(isset($uri->getPath) && (strpos($uri->getPath(),'/tm/') !== false OR strpos($uri->getPath(),'/setup') !== false))
+  	if(isset($uri->getPath()) && (strpos($uri->getPath(),'/tm/') !== false OR strpos($uri->getPath(),'/setup') !== false))
   	{
     	// Admin environment labels
     	$labels = Typemill\Translations::loadTranslations('admin');