Skip to content

Commit

Permalink
content fallback support
Browse files Browse the repository at this point in the history
  • Loading branch information
rickfeuerabend committed Nov 8, 2017
1 parent 50db4c9 commit 789cfbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Helper/InlineHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function getInlineElements($data, $name, $cType, $parentid = "parentid",
. $enableFields, "", "sorting"
);
} else {
$queryResult = $this->getQueryReslut(
$queryResult = $this->getQueryResult(
$parentid,
$parenttable,
$childTable,
Expand All @@ -201,7 +201,7 @@ public function getInlineElements($data, $name, $cType, $parentid = "parentid",

if (empty($elements) && $GLOBALS['TSFE']->sys_language_mode == 'content_fallback') {

$queryResult = $this->getQueryReslut(
$queryResult = $this->getQueryResult(
$parentid,
$parenttable,
$childTable,
Expand Down Expand Up @@ -252,7 +252,7 @@ protected function fetchElements($name, $cType, $childTable, $sql)
* @param $enableFields
* @return bool|\mysqli_result|object MySQLi result object / DBAL object
*/
protected function getQueryReslut($parentid, $parenttable, $childTable, $parentUid, $sysLangUid, $enableFields)
protected function getQueryResult($parentid, $parenttable, $childTable, $parentUid, $sysLangUid, $enableFields)
{
return $GLOBALS["TYPO3_DB"]->exec_SELECTquery(
"*",
Expand Down

0 comments on commit 789cfbd

Please sign in to comment.