app/soc/logic/lists.py
changeset 1803 d516eb26985e
parent 1679 2b28763da7a4
child 1807 1f8cde169f32
--- a/app/soc/logic/lists.py	Thu Mar 12 13:35:35 2009 +0000
+++ b/app/soc/logic/lists.py	Thu Mar 12 13:36:36 2009 +0000
@@ -144,6 +144,9 @@
     """Returns additional info on the current row item in the current list.
     """
 
+    if 'info' not in self._content:
+      return ""
+
     action, args = self.get('info')
     return action(self._row_data, args)
 
@@ -151,5 +154,8 @@
     """Returns the redirect for the current row item in the current list.
     """
 
+    if 'action' not in self._content:
+      return ""
+
     action, args = self.get('action')
     return action(self._row_data, args)