Greetings,

I'm running your module against PostgreSQL database. I've discovered a problem in one SELECT statement.
You are wrapping string with "" which doesn't work in PostgreSQL:

    $sql = "SELECT uid, name FROM {users} WHERE name LIKE \"%%%s%%\"";

'' should be used instead:

    $sql = "SELECT uid, name FROM {users} WHERE name LIKE '%%%s%%'";

Proposed solution fixes the problem and works correctly on both MySQL and PostgreSQL servers.

Thank you.

Comments

Anonymous’s picture

Status: Active » Fixed

fixed in latest version

Anonymous’s picture

Status: Fixed » Closed (fixed)