Zmień to:
$db = ezcDbInstance::get();
$stmt = $db->prepare('SELECT...
do tego:
$db = ezcDbInstance::get();
$db->setAttribute( PDO::ATTR_CASE, PDO::CASE_NATURAL );
$stmt = $db->prepare('SELECT ...
Zmień to:
$db = ezcDbInstance::get();
$stmt = $db->prepare('SELECT...
do tego:
$db = ezcDbInstance::get();
$db->setAttribute( PDO::ATTR_CASE, PDO::CASE_NATURAL );
$stmt = $db->prepare('SELECT ...