Project

General

Profile

Actions

Bug #29169

closed

exec_SELECTcountRows returns string

Added by Steffen Gebert over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

PHPdoc of t3lib_DB::exec_SELECTcountRows says that it returns an integer, but it returns the number as string (as the mysql function does so).

Either the PHPdoc comment should be changed or we cast it to a real integer, in case of a value is returned (which I would prefer).

Actions

Also available in: Atom PDF