[gen] Bugfix in portlet.
This commit is contained in:
parent
74f8592517
commit
2b33c420a4
|
@ -468,7 +468,7 @@ class ToolMixin(BaseMixin):
|
|||
if not klass.__dict__.has_key('create'):
|
||||
return ['form']
|
||||
else:
|
||||
means = pythonClass.create
|
||||
means = klass.create
|
||||
if means:
|
||||
if isinstance(means, basestring): res = [means]
|
||||
else: res = means
|
||||
|
|
Loading…
Reference in a new issue