Skip to content

Commit

Permalink
Add respect language settings to false, for model selection
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Jun 22, 2015
1 parent 4069155 commit ebe6c3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Utility/ModelUtility.php
Original file line number Diff line number Diff line change
@@ -141,6 +141,8 @@ public static function getModel($modelName, $data, $ignoreEnableFields = FALSE)
->setIgnoreEnableFields($ignoreEnableFields);
$query->getQuerySettings()
->setRespectStoragePage(FALSE);
$query->getQuerySettings()
->setRespectSysLanguage(FALSE);

$query->matching($query->equals('uid', $data['uid']));

0 comments on commit ebe6c3a

Please sign in to comment.