Fixed potential error in db_pdo where it was using an undeclared variable $user.