Skip to content

Commit

Permalink
#82 fix II
Browse files Browse the repository at this point in the history
  • Loading branch information
bednee committed Mar 18, 2018
1 parent 781866b commit 3fa00a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Classes/Integration/CoolUri.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,7 @@ protected static function getTemplateCount($pagId)

$db = &$GLOBALS['TYPO3_DB'];
$temp = $db->exec_SELECTquery('COUNT(*) as num', 'sys_template', 'deleted=0 AND hidden=0 AND pid=' . $pagId . ' AND root=1' . $enable);
$row = $db->sql_fetch_assoc($temp);
$countCache[$pagId] = $row['num'];
$countCache[$pagId] = $db->sql_fetch_assoc($temp);
return $countCache[$pagId];
}

Expand Down

0 comments on commit 3fa00a4

Please sign in to comment.