We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 781866b commit 3fa00a4Copy full SHA for 3fa00a4
Classes/Integration/CoolUri.php
@@ -443,8 +443,7 @@ protected static function getTemplateCount($pagId)
443
444
$db = &$GLOBALS['TYPO3_DB'];
445
$temp = $db->exec_SELECTquery('COUNT(*) as num', 'sys_template', 'deleted=0 AND hidden=0 AND pid=' . $pagId . ' AND root=1' . $enable);
446
- $row = $db->sql_fetch_assoc($temp);
447
- $countCache[$pagId] = $row['num'];
+ $countCache[$pagId] = $db->sql_fetch_assoc($temp);
448
return $countCache[$pagId];
449
}
450
0 commit comments