Issue Bug Closed

#18167DBAL bug while using IN() functions

Claus Jul 02/08/08, 10:51 updated 09/09/13, 08:48

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.