Project

General

Profile

Actions

Bug #90232

closed

Database result is not used to built result array for linkvalidator

Added by Daniel Siepmann about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Linkvalidator
Target version:
-
Start date:
2020-01-28
Due date:
% Done:

100%

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

Description

Within () the following code is uses:

        while ($row = $statement->fetch()) {
            $result[$row['link_type']] = $result['amount'];
        }

This results in an empty list, null assignment.

Instead the following should be used:

        while ($row = $statement->fetch()) {
            $result[$row['link_type']] = $row['amount'];
        }

Files

linkvalidator.png (30.2 KB) linkvalidator.png Sybille Peters, 2020-01-28 15:48
Actions

Also available in: Atom PDF