Skip to content

Commit

Permalink
Merge 1a4e363 into e237c6e
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Jan 5, 2019
2 parents e237c6e + 1a4e363 commit fa61a65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Model/BbsArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ public function __construct($id = false, $table = null, $ds = null) {
'Language' => 'M17n.Language',
]);

$langs = $this->Language->getLanguage();
if (count($langs) > 1) {
if ($this->Language->isMultipleLang()) {
$conditions = [
'BbsArticle.key = BbsArticleTree.bbs_article_key',
'OR' => array(
Expand Down

0 comments on commit fa61a65

Please sign in to comment.