Fix problem with undefined constants for Tags #35
This commit is contained in:
parent
f440afd0c6
commit
3008a5dc21
@ -1,9 +1,10 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
2.0.17-dev
|
||||
++++++++++
|
||||
2.0.17
|
||||
++++++
|
||||
|
||||
- Fix bug with undefined constant for tags
|
||||
- add possibility to use custom date with date macro
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
class AdditionalsTag
|
||||
TAG_TABLE_NAME = RedmineCrm::Tag.table_name
|
||||
TAGGING_TABLE_NAME = RedmineCrm::Tagging.table_name
|
||||
TAG_TABLE_NAME = RedmineCrm::Tag.table_name if defined? RedmineCrm
|
||||
TAGGING_TABLE_NAME = RedmineCrm::Tagging.table_name if defined? RedmineCrm
|
||||
PROJECT_TABLE_NAME = Project.table_name
|
||||
|
||||
def self.get_available_tags(klass, options = {}, permission = nil)
|
||||
|
Loading…
Reference in New Issue
Block a user