Drupal Coding Convetions

nandou - August 31, 2007 - 11:43
Project:Views Mail
Version:5.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Hi,

Please use {} brackets on tables of all of your sql query's. If a user has a table prefix, your module wont work. Easy to fix, if someone has this problem, just edit the module and add {} to table names like: "SELECT uid FROM users ... " --> "SELECT uid FROM {users} ..." knowing sql helps.

#1

SomebodySysop - June 10, 2008 - 00:24
Status:active» fixed

knowing sql helps

Knowing Drupal helps even more!

Patch: http://drupal.org/files/issues/views_mail.module.5.x-2.0a.patch

Will be included in next release.

#2

Anonymous (not verified) - June 24, 2008 - 00:25
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.