Cambia questo:
$db = ezcDbInstance::get();
$stmt = $db->prepare('SELECT...
a questo:
$db = ezcDbInstance::get();
$db->setAttribute( PDO::ATTR_CASE, PDO::CASE_NATURAL );
$stmt = $db->prepare('SELECT ...
Cambia questo:
$db = ezcDbInstance::get();
$stmt = $db->prepare('SELECT...
a questo:
$db = ezcDbInstance::get();
$db->setAttribute( PDO::ATTR_CASE, PDO::CASE_NATURAL );
$stmt = $db->prepare('SELECT ...