Hardcoded Table-Prefix
Methos76 - March 9, 2009 - 21:50
| Project: | View Alias |
| Version: | 6.x-2.0-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | emackn |
| Status: | closed |
Jump to:
Description
hello,
because of an error-message I got, I looked into the module-code and found following line in the function _get_aliasable_displays() :
$sql = "SELECT DISTINCT(vv.name) FROM drupal_views_view vv JOIN drupal_views_display vd ";
the table prefix 'drupal_' is hardcoded into the module code. This really shouldn't be so.
Some people (like me) don't use table prefixes at all, other will use different prefixes.
Would be great if you could correct this, not just for me, cause i modified the source, but for all others.

#1
#2
beta2 will have this fix in it. I set the release up, but it might not get rolled for a couple of hours.
Thanks for picking that up.
#3
#4
assigning to me
#5
Automatically closed -- issue fixed for 2 weeks with no activity.