Actions
Bug #18167
closedDBAL bug while using IN() functions
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