From afb9c8e28f2cf698dffa071cd5abb944d7e54471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Wed, 22 May 2013 18:31:44 +0200 Subject: [PATCH] Fix a PHP warning. re #66 --- base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.php b/base.php index bb6ef36..df708c8 100644 --- a/base.php +++ b/base.php @@ -545,7 +545,7 @@ class PageLanguageDetail extends Page { $language = Language::getLanguageById ($this->idGet); $this->idPage = $language->getEntryId (); - $this->title = $language->name; + $this->title = $language->lang_code; list ($this->entryArray, $this->totalNumber) = Book::getBooksByLanguage ($this->idGet, $this->n); } }