Project

General

Profile

Actions

Bug #18167

closed

DBAL bug while using IN() functions

Added by Claus Jul almost 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2008-02-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I've discovery an bug in DBAL when I use limited permissions for the user. I get an error in the BE:

Unknown column 'rAr' in 'where clause' This may indicate a table defined in tables.php is not existing in the database.

The reason is the where string which contains the ' in(rAr) ' and the rAr came from the Array.

In line 2309 in the class.ux_t3lib_db.php i added the

if (is_array($vv)) {
$vv = join(',',$vv);
}

and it's working fine again.
}

(issue imported from #M7455)

Actions

Also available in: Atom PDF