Skip to content

Commit 3fa00a4

Browse files
committed
#82 fix II
1 parent 781866b commit 3fa00a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Classes/Integration/CoolUri.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,7 @@ protected static function getTemplateCount($pagId)
443443

444444
$db = &$GLOBALS['TYPO3_DB'];
445445
$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'];
446+
$countCache[$pagId] = $db->sql_fetch_assoc($temp);
448447
return $countCache[$pagId];
449448
}
450449

0 commit comments

Comments
 (0)