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