diff options
| author | P. Christeas <p_christ@hol.gr> | 2010-09-01 17:28:23 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2010-09-01 17:28:23 +0530 |
| commit | 4ecbf905cc2710e742eae491f0f3c833f303cb1b (patch) | |
| tree | 17e3fe632d4957d1c20cb75f56dc91708459d35e /addons/wiki/wizard/wiki_show_diff.py | |
| parent | 297ba866c02e004ab6a67303624a8c2592282ccb (diff) | |
[FIX] Wiki: yml issue
An osv_memory object need not be created, but just reference an arbitrary
id. Let the page have some modifications, and then search its history for
bzr revid: hmo@tinyerp.com-20100901115823-agwkfnmu04yo67nn
Diffstat (limited to 'addons/wiki/wizard/wiki_show_diff.py')
| -rw-r--r-- | addons/wiki/wizard/wiki_show_diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/wiki/wizard/wiki_show_diff.py b/addons/wiki/wizard/wiki_show_diff.py index 7654ce3e153..43f3f698611 100644 --- a/addons/wiki/wizard/wiki_show_diff.py +++ b/addons/wiki/wizard/wiki_show_diff.py @@ -34,7 +34,7 @@ class showdiff(osv.osv_memory): @param uid: the current user’s ID for security checks, """ history = self.pool.get('wiki.wiki.history') - ids = context.get('active_ids') + ids = context.get('active_ids', []) diff = "" if len(ids) == 2: |
