Closed (fixed)
Project:
PROG Gallery
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2009 at 11:00 UTC
Updated:
25 Mar 2009 at 12:50 UTC
When i try to view the gallery, it displays error messages like this:
query: UPDATE prog_gallery_images SET `exif_date` = ":exif_date" WHERE `i_nid`=":nid"; in /home/shemgp/public_html/tests/drupal_galleries/drupal/sites/all/modules/prog_gallery/prog_gallery.module on line 1537.
I think that's because db_query should use %d, %s, etc. instead of :exif_date? Maybe that's for drupal 7?
This patch works for me. I'm using Postgres.
| Comment | File | Size | Author |
|---|---|---|---|
| prog_gallery-db_query.diff | 1.19 KB | shemgp |
Comments
Comment #1
Jānis Bebrītis commentedthanks, i`ll review it asap!
Comment #2
Jānis Bebrītis commentedI followed drupal coding standards when created this module, it suggested such syntax.
anyway, patch is applied and uploaded to cvs, thanks for contributing patch!
Comment #3
Jānis Bebrītis commented