Project

General

Profile

Actions

Bug #15983

closed

Error message from flexform

Added by Björn Pedersen about 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2006-04-04
Due date:
% Done:

0%

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

Description

Warning: array_unique(): The argument should be an array in /home/webmaster/newweb/TYPO3core/t3lib/class.t3lib_flexformtools.php on line 150

e.g. when using DbCheck

(issue imported from #M3124)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #16100: t3lib_flexformtools errorClosed2006-04-28

Actions
Actions #1

Updated by Franz Holzinger about 18 years ago

The line should be changed to:

if (is_array($editData['meta']['currentLangId']))
$editData['meta']['currentLangId'] = array_unique($editData['meta']['currentLangId']);

Please test, if it works with this change.

Actions #2

Updated by Björn Pedersen about 18 years ago

Yes, this fixes the problem!

Thanks a lot, Björn

Actions #3

Updated by Ingmar Schlecht about 18 years ago

Franz, can you please prepare a patch?

Actions #4

Updated by Björn Pedersen about 18 years ago

solved with bug #0003196, please change status.

Actions

Also available in: Atom PDF