Project

General

Profile

Actions

Bug #39417

closed

t3lib_db::exec_SELECTgetRows doesn't return an empty array on error

Added by Nicole Cordes over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-07-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The function supposed to return an array but if the query fails it return NULL instead. Should return an empty array to equal the PhpDoc statement and not breaking other functions.

For me this happens after updating the current master without checking the database against the TCA.

Actions

Also available in: Atom PDF