summaryrefslogtreecommitdiff
path: root/addons/wiki/wizard/wiki_show_diff.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/wiki/wizard/wiki_show_diff.py')
-rw-r--r--addons/wiki/wizard/wiki_show_diff.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/wiki/wizard/wiki_show_diff.py b/addons/wiki/wizard/wiki_show_diff.py
index 43f3f698611..278c91064df 100644
--- a/addons/wiki/wizard/wiki_show_diff.py
+++ b/addons/wiki/wizard/wiki_show_diff.py
@@ -33,6 +33,8 @@ class showdiff(osv.osv_memory):
""" @param cr: the current row, from the database cursor,
@param uid: the current user’s ID for security checks,
"""
+ if context is None:
+ context = {}
history = self.pool.get('wiki.wiki.history')
ids = context.get('active_ids', [])