Skip to content

Commit

Permalink
多言語対応
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Dec 14, 2016
1 parent d933106 commit ea69ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/QuizPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,14 +293,14 @@ public function getQuizIdsForM17n($quizId) {
$conditions['is_active'] = true;
}

$quizId = $this->Quiz->find('list', array(
$quizIds = $this->Quiz->find('list', array(
'recursive' => -1,
'callbacks' => false,
'fields' => array('id', 'id'),
'conditions' => $conditions,
));

return array_values($quizId);
return array_values($quizIds);
}

}

0 comments on commit ea69ad6

Please sign in to comment.