Project:Unique field
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:arithmetric
Status:closed (fixed)

Issue Summary

warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\wamp\www\D5\sites\all\modules\unique_field\unique_field.module on line 206.

Comments

#1

Same here, not only does that warning appear, the field is not unique. I was able to create 2 nodes with same field value

#2

Assigned to:Anonymous» arithmetric
Status:active» fixed

This likely had to do with my use of the database-specific function mysql_fetch_object instead of Drupal's abstraction layer function db_fetch_object. This is changed in the latest version (dated 2008-October-25).

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.